[PATCH] compare_strings.py : Add --gmean flag

Nisha Menon nisha.s.menon@gmail.com
Mon Apr 3 22:58:22 GMT 2023


On Mon, Apr 3, 2023 at 5:37 PM Florian Weimer <fweimer@redhat.com> wrote:
>
> * Noah Goldstein via Libc-alpha:
>
> > Is there an issue using statistics package and just doing:
> > `statistics.geometric_mean`
> > ?
>
> According to
>
>   <https://docs.python.org/3/library/statistics.html#statistics.geometric_mean>
>
> it was added in Python 3.8, which is newer than what we aim for in
> general (INSTALL currently mentions Python 3.4).
>

So is the fix okay as it is?

Thanks,
Nisha


More information about the Libc-alpha mailing list