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 2010-01-03.12:34:36
SpamBayes Score 9.75383e-10
Marked as misclassified No
Message-id <1262522078.77.0.549239099631.issue4294@psf.upfronthosting.co.za>
In-reply-to
Content
Closing this.  I like the PyLong_IS_NEGATIVE and PyLong_IS_ZERO macros, but I can't find anywhere outside longobject.c where they'd actually be useful (with the possible exception of marshal.c, but that currently depends on knowing lots about the long implementation anyway).  And I don't really see much benefit from doing a mass replacement of uses of 'Py_SIZE(a) < 0', etc. in Objects/longobject.c;  I think it's the code is readable enough as it stands.
History
Date User Action Args
2010-01-03 12:34:38mark.dickinsonsetrecipients: + mark.dickinson, gregory.p.smith, pernici, vstinner, christian.heimes
2010-01-03 12:34:38mark.dickinsonsetmessageid: <1262522078.77.0.549239099631.issue4294@psf.upfronthosting.co.za>
2010-01-03 12:34:37mark.dickinsonlinkissue4294 messages
2010-01-03 12:34:36mark.dickinsoncreate