[issue2801] Py30a5 float.is_integer() raises ValueError

2011-11-04 Thread Steve Holden
Steve Holden added the comment: ValueError: (11, 'Resource temporarily unavailable') looks to me like a Cygwin error relating to Windows' DLLs and the difficulty of mapping them to unique memory locations. I very much doubt it's a real issue with Python, so closing the issue appears to be the

[issue2801] Py30a5 float.is_integer() raises ValueError

2008-05-09 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: Thanks, Mark. I've also backported the fix to the trunk in r62943. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> ___

[issue2801] Py30a5 float.is_integer() raises ValueError

2008-05-09 Thread Mark Summerfield
Mark Summerfield <[EMAIL PROTECTED]> 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. >>>

[issue2801] Py30a5 float.is_integer() raises ValueError

2008-05-09 Thread Mark Summerfield
Mark Summerfield <[EMAIL PROTECTED]> added the comment: On 2008-05-09, Mark Dickinson wrote: > Mark Dickinson <[EMAIL PROTECTED]> 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

[issue2801] Py30a5 float.is_integer() raises ValueError

2008-05-09 Thread Mark Dickinson
Changes by Mark Dickinson <[EMAIL PROTECTED]>: -- assignee: -> marketdickinson priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Pytho

[issue2801] Py30a5 float.is_integer() raises ValueError

2008-05-09 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: That should be r62939, not r62938. Sorry. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list m

[issue2801] Py30a5 float.is_integer() raises ValueError

2008-05-09 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: This should be fixed in r62938. Mark, can you confirm? __ Tracker <[EMAIL PROTECTED]> __ ___ Pytho

[issue2801] Py30a5 float.is_integer() raises ValueError

2008-05-09 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> 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 >>>

[issue2801] Py30a5 float.is_integer() raises ValueError

2008-05-09 Thread Mark Summerfield
New submission from Mark Summerfield <[EMAIL PROTECTED]>: 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 "", line 1, in x.is_integer() ValueError: (11, 'Res