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.dickinson
Recipients dalcinl, mark.dickinson, tim.peters
Date 2009-02-08.13:00:11
SpamBayes Score 8.969032e-09
Marked as misclassified No
Message-id <1234098013.47.0.438208843317.issue5175@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like this was changed in a checkin by Tim Peters in r21099;  before 
r21099, PyLong_AsUnsignedLongLong raised OverflowError for negative 
numbers.  After the checkin, it raised TypeError.  I suspect the change 
was inadvertent.

Tim, any comments?

Lisandro, do you have any interest in contributing a patch for this?  The 
patch should change the exception type, fix the docs, add a test or two 
for the fixed behaviour of PyLong_AsUnsignedLongLong to 
Modules/_testcapimodule.c, and fix the test_struct test for the 'Q' format 
code.
History
Date User Action Args
2009-02-08 13:00:13mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, dalcinl
2009-02-08 13:00:13mark.dickinsonsetmessageid: <1234098013.47.0.438208843317.issue5175@psf.upfronthosting.co.za>
2009-02-08 13:00:11mark.dickinsonlinkissue5175 messages
2009-02-08 13:00:11mark.dickinsoncreate