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 fredrikj, loewis, mark.dickinson, pitrou, rhettinger, terry.reedy, vstinner
Date 2008-12-14.10:24:29
SpamBayes Score 3.752926e-05
Marked as misclassified No
Message-id <1229250276.41.0.0278229181837.issue3439@psf.upfronthosting.co.za>
In-reply-to
Content
Update both patches:

(1) change PyLong_FromLong(ndigits-1) to PyLong_FromSsize_t(ndigits-1) in 
both patches (it's possible to have a 32-bit long and 64-bit Py_ssize_t), and

(2) in the optimized patch, add the table lookup optimization for 
long_bit_length.
History
Date User Action Args
2008-12-14 10:24:36mark.dickinsonsetrecipients: + mark.dickinson, loewis, rhettinger, terry.reedy, pitrou, vstinner, fredrikj
2008-12-14 10:24:36mark.dickinsonsetmessageid: <1229250276.41.0.0278229181837.issue3439@psf.upfronthosting.co.za>
2008-12-14 10:24:32mark.dickinsonlinkissue3439 messages
2008-12-14 10:24:32mark.dickinsoncreate