gh-123497: New limit for Python integers on 64-bit platforms (GH-123724)
Instead of be limited just by the size of addressable memory (2**63 bytes), Python integers are now also limited by the number of bits, so the number of bit now always fit in a 64-bit integer. Both limits are much larger than what might be available in practice, so it doesn't affect users. _PyLong_NumBits() and _PyLong_Frexp() are now always successful.
S
Serhiy Storchaka committed
d08c7888229e78533648191dfe42e2d2d3ecea25
Parent: e0a41a5
Committed by GitHub <noreply@github.com>
on 9/29/2024, 7:40:20 AM