>> The reason for digits being a multiple of 5 bits should be revisited vs
>> its original intent

> I added that. The only intent was to make it easier to implement
> bigint exponentiation easily ...

That said, I see the comments in longintrepr.h note a stronger constraint:

"""
the marshal code currently expects that PyLong_SHIFT is a multiple of 15
"""

But that's doubtless also shallow.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/YSNDNGB2QUBS3ZX2JZNFZCDITRTDGBEM/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to