[issue2801] Py30a5 float.is_integer() raises ValueError

Mark Summerfield report at bugs.python.org
Fri May 9 16:53:16 CEST 2008


Mark Summerfield <mark at qtrac.eu> added the comment:

OK, I've just built against your fix and it works fine now!

Python 3.0a5+ (py3k:60668:62940, May  9 2008, 15:48:15)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> (5.).as_integer_ratio()
(5, 1)
>>> (5.).is_integer()
True

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2801>
__________________________________


More information about the Python-bugs-list mailing list