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, mark.dickinson
Date 2008-05-09.14:33:40
SpamBayes Score 0.00076554273
Marked as misclassified No
Message-id <200805091533.36266.mark@qtrac.eu>
In-reply-to <1210340829.31.0.75126881612.issue2801@psf.upfronthosting.co.za>
Content
On 2008-05-09, Mark Dickinson wrote:
> Mark Dickinson <dickinsm@gmail.com> added the comment:
>
> Is this on Windows?  I can't reproduce it on OS X 10.5.2:
>
> Python 3.0a5+ (py3k:62937M, May  9 2008, 09:32:27)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> x = 5.0
> >>> x.is_integer()
>
> True

I'm on Linux:

'3.0a5 (r30a5:62856, May  9 2008, 11:23:06) \n[GCC 4.1.2 20070925 (Red Hat 
4.1.2-33)]'
>>> (5.).as_integer_ratio()
(5, 1)
>>> (5.).is_integer()
Traceback (most recent call last):
  File "<pyshell#99>", line 1, in <module>
    (5.).is_integer()
ValueError: (11, 'Resource temporarily unavailable')

(I can't test on Windows because Py30a5 isn't available for it yet.)
History
Date User Action Args
2008-05-09 14:33:43marksetspambayes_score: 0.000765543 -> 0.00076554273
recipients: + mark, mark.dickinson
2008-05-09 14:33:42marklinkissue2801 messages
2008-05-09 14:33:41markcreate