[issue37884] Optimize Fraction() and statistics.mean()

Jeroen Demeyer report at bugs.python.org
Thu Aug 22 11:05:52 EDT 2019


Jeroen Demeyer <jeroen.k.demeyer at gmail.com> added the comment:

May I propose PR 15327 as alternative? It solves some of the same issues as the PR on this issue, in particular supporting arbitrary objects with as_integer_ratio(). It also improves performance somewhat for certain inputs, but that's more by accident.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37884>
_______________________________________


More information about the Python-bugs-list mailing list