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 edahl
Recipients
Date 2006-05-03.18:39:07
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
on all platforms I can test long(float('nan'))=0L

But on maxos X intel long(float('nan'))!=0L

it returns:

000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000L

This is a problem because:

>>> 344 - long(float('nan'))    
Objects/longobject.c:1645: failed assertion `borrow == 0'
Abort trap


History
Date User Action Args
2007-08-23 14:39:47adminlinkissue1481296 messages
2007-08-23 14:39:47admincreate