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 arigo
Date 2005-04-03.14:24:41
SpamBayes Score
Marked as misclassified
Logged In: YES 

No two conversion function in longobject.c seem to have the same rules for what to do about non-long objects :-(  I'm afraid some clean-up would be useful, but also difficult for fear of breaking existing user C code :-(

In fact, your patch doesn't apply with today's CVS because someone already tried to add some magic in PyObject_AsLongLong().  It also fails on and applies uncleanly on arraymodule.c.

Also, it needs to update the array module documentation.
Date User Action Args
2007-08-23 15:42:25adminlinkissue1172711 messages
2007-08-23 15:42:25admincreate