[issue38382] statistics.harmonic_mean fails to raise error with negative input that follows a 0

Tim Peters report at bugs.python.org
Sun Oct 6 20:22:37 EDT 2019


Tim Peters <tim at python.org> added the comment:

I don't have a problem with the current behavior (early out on zero, even if later arguments are senseless).  So:

> * Just document that there is an early-out for zero.

----------

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


More information about the Python-bugs-list mailing list