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 Alex Groce
Recipients Alex Groce, r.david.murray
Date 2016-08-26.21:54:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472248486.41.0.35367355522.issue27870@psf.upfronthosting.co.za>
In-reply-to
Content
I mean a Python long.  GMP mpz (via gmpy2) is supposed to be "drop-in" replacement, but it's choice to handle 0 << N even if N is too large to allocate (since you get back a 1-bit number, 0) seems reasonable, if not required for correct behavior.  If this is by design, it seems reasonable (if the zero check is considered too expensive, for example).
History
Date User Action Args
2016-08-26 21:54:46Alex Grocesetrecipients: + Alex Groce, r.david.murray
2016-08-26 21:54:46Alex Grocesetmessageid: <1472248486.41.0.35367355522.issue27870@psf.upfronthosting.co.za>
2016-08-26 21:54:46Alex Grocelinkissue27870 messages
2016-08-26 21:54:46Alex Grocecreate