Message81377
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. |
|
Date |
User |
Action |
Args |
2009-02-08 13:00:13 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, dalcinl |
2009-02-08 13:00:13 | mark.dickinson | set | messageid: <1234098013.47.0.438208843317.issue5175@psf.upfronthosting.co.za> |
2009-02-08 13:00:11 | mark.dickinson | link | issue5175 messages |
2009-02-08 13:00:11 | mark.dickinson | create | |
|