[issue35698] Division by 2 in statistics.median
Rémi Lapeyre
report at bugs.python.org
Thu Jan 10 11:44:08 EST 2019
Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:
This does not do what you want:
>>> class MyInt(int): pass
>>> wibble(MyInt(4), MyInt(2))
2.0
and a patch is only needed if something is broken.
I'm with vstinner of the opinion that nothing is broken and vote to close this issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35698>
_______________________________________
More information about the Python-bugs-list
mailing list