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 vstinner
Recipients christian.heimes, gregory.p.smith, mark.dickinson, pernici, vstinner
Date 2009-03-18.22:44:35
SpamBayes Score 1.6931114e-06
Marked as misclassified No
Message-id <1237416281.34.0.706754064207.issue4294@psf.upfronthosting.co.za>
In-reply-to
Content
Updated version of my macros patch for PyLong type:
 - patch for Python trunk
 - define 3 macros: PyLong_SIGN(x), PyLong_EQUALS_ZERO(x), 
PyLong_NDIGITS(x)
 - just replace code by the equivalent macros

The goal is the make the code easier to read. It would also help if we 
change the PyLong implementation (eg. the 2^30 base patch).

My previous patch was for py3k, the new one is for Python trunk and is 
shorter. I only kept the most simple macros.
History
Date User Action Args
2009-03-18 22:44:41vstinnersetrecipients: + vstinner, gregory.p.smith, mark.dickinson, pernici, christian.heimes
2009-03-18 22:44:41vstinnersetmessageid: <1237416281.34.0.706754064207.issue4294@psf.upfronthosting.co.za>
2009-03-18 22:44:39vstinnerlinkissue4294 messages
2009-03-18 22:44:38vstinnercreate