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 gregory.p.smith, mark.dickinson, vstinner
Date 2008-11-10.13:48:47
SpamBayes Score 1.1026788e-08
Marked as misclassified No
Message-id <1226324928.35.0.481351475791.issue4294@psf.upfronthosting.co.za>
In-reply-to
Content
Another thought:  macros that are going to be used elsewhere in Python 
(like the way you're using PyLong_SIGN in mathmodule.c) would probably
be better off in longobject.h.   The fewer places there are that have to 
include longintrepr.h, the easier it is to mess with the internal 
representation.

It's quite tempting to 'fix' _PyLong_AsScaledDouble to return e as the 
number of bits, rather than the number of digits;  then mathmodule.c 
wouldn't have to include longintrepr.h at all.

(And if marshal.c were also changed, to read and write integers as byte 
strings, we wouldn't need longintrepr.h anywhere any more!)
History
Date User Action Args
2008-11-10 13:48:48mark.dickinsonsetrecipients: + mark.dickinson, gregory.p.smith, vstinner
2008-11-10 13:48:48mark.dickinsonsetmessageid: <1226324928.35.0.481351475791.issue4294@psf.upfronthosting.co.za>
2008-11-10 13:48:47mark.dickinsonlinkissue4294 messages
2008-11-10 13:48:47mark.dickinsoncreate