This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark
Recipients mark
Date 2008-05-09.11:28:49
SpamBayes Score 0.00016198575
Marked as misclassified No
Message-id <1210332530.82.0.122312238822.issue2801@psf.upfronthosting.co.za>
In-reply-to
Content
The new method float.is_integer() introduced in Py30a5 behaves unexpectedly:

>>> x = 5.0
>>> x.as_integer_ratio()
(5, 1)
>>> x.is_integer()
Traceback (most recent call last):
  File "<pyshell#20>", line 1, in <module>
    x.is_integer()
ValueError: (11, 'Resource temporarily unavailable')

I was expecting True.
History
Date User Action Args
2008-05-09 11:28:51marksetspambayes_score: 0.000161986 -> 0.00016198575
recipients: + mark
2008-05-09 11:28:51marksetspambayes_score: 0.000161986 -> 0.000161986
messageid: <1210332530.82.0.122312238822.issue2801@psf.upfronthosting.co.za>
2008-05-09 11:28:49marklinkissue2801 messages
2008-05-09 11:28:49markcreate