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 mark.dickinson
Date 2016-09-12.07:59:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473667173.5.0.153508183676.issue28098@psf.upfronthosting.co.za>
In-reply-to
Content
Low-priority issue, possibly not worth fixing at all, but maybe worth recording.

sys.getsizeof(0) currently reports 24 on a 64-bit machine using 30-bit limbs. That's inaccurate, since we're actually allocating 28 bytes for 0 as part of the small-int cache. PyLong_FromLong also always requests at least one limb.
History
Date User Action Args
2016-09-12 07:59:33mark.dickinsonsetrecipients: + mark.dickinson
2016-09-12 07:59:33mark.dickinsonsetmessageid: <1473667173.5.0.153508183676.issue28098@psf.upfronthosting.co.za>
2016-09-12 07:59:33mark.dickinsonlinkissue28098 messages
2016-09-12 07:59:33mark.dickinsoncreate