homepage

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 christian.heimes, gregory.p.smith, mark.dickinson, pernici, vstinner
Date 2009年03月22日.10:42:01
SpamBayes Score 3.716619e-06
Marked as misclassified No
Message-id <1237718523.83.0.230820220427.issue4294@psf.upfronthosting.co.za>
In-reply-to
Content
A few comments:
I think PyLong_SIGN and PyLong_EQUALS_ZERO should go in 
Include/longobject.h, not Include/longintrepr.h: these 2 macros have an 
unambiguous meaning for *any* representation of integers. And 
longintrepr.h is really supposed to be private, for the use of 
longobject.c only. PyLong_NDIGITS should stay in longintrepr.h, though, 
since it's dependent on the representation.
Perhaps rename PyLong_EQUALS_ZERO to PyLong_IS_ZERO?
Almost all your uses of PyLong_SIGN take the form PyLong_SIGN(X) < 0. 
Maybe it would be better to have a PyLong_IS_NEGATIVE macro instead?
History
Date User Action Args
2009年03月22日 10:42:04mark.dickinsonsetrecipients: + mark.dickinson, gregory.p.smith, pernici, vstinner, christian.heimes
2009年03月22日 10:42:03mark.dickinsonsetmessageid: <1237718523.83.0.230820220427.issue4294@psf.upfronthosting.co.za>
2009年03月22日 10:42:02mark.dickinsonlinkissue4294 messages
2009年03月22日 10:42:01mark.dickinsoncreate

AltStyle によって変換されたページ (->オリジナル) /