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 mark.dickinson
Date 2009-12-20.14:09:52
SpamBayes Score 0.0015479684
Marked as misclassified No
Message-id <1261318193.95.0.565152788308.issue7550@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-12-20 14:09:54mark.dickinsonsetrecipients: + mark.dickinson
2009-12-20 14:09:53mark.dickinsonsetmessageid: <1261318193.95.0.565152788308.issue7550@psf.upfronthosting.co.za>
2009-12-20 14:09:52mark.dickinsonlinkissue7550 messages
2009-12-20 14:09:52mark.dickinsoncreate