Message96678
Just as an experiment, I removed the calls to nb_int and ran the test-
suite. The only test failures were in test_ctypes, test_getargs2, and
test_math.
The test_math failure was from math.factorial depending on PyLong_AsLong
to convert floats; I've fixed this in r76916 (trunk) and r76917 (py3k).
One consequence of not having PyLong_AsLong automatically call nb_int
would be that math.factorial(decimal.Decimal('-0.53')) is no longer valid. |
|
Date |
User |
Action |
Args |
2009-12-20 14:09:54 | mark.dickinson | set | recipients:
+ mark.dickinson |
2009-12-20 14:09:53 | mark.dickinson | set | messageid: <1261318193.95.0.565152788308.issue7550@psf.upfronthosting.co.za> |
2009-12-20 14:09:52 | mark.dickinson | link | issue7550 messages |
2009-12-20 14:09:52 | mark.dickinson | create | |
|