[issue1580] Use shorter float repr when possible
Noam Raphael
report at bugs.python.org
Tue Dec 11 14:58:58 CET 2007
Noam Raphael added the comment:
That's right, but the standard also defines that 0.0/0 -> nan, and
1.0/0 -> inf, but instead we raise an exception. It's just that in
Python, every object is expected to be equal to itself. Otherwise, how
can I check if a number is nan?
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1580>
__________________________________
More information about the Python-bugs-list
mailing list