diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-09-29 07:40:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-29 07:40:20 (GMT) |
commit | d08c7888229e78533648191dfe42e2d2d3ecea25 (patch) | |
tree | 4b638a62a9e80d43573856ed8f081a65ae45ab8a /Objects/listobject.c | |
parent | e0a41a5dd12cb6e9277b05abebac5c70be684dd7 (diff) | |
download | cpython-d08c7888229e78533648191dfe42e2d2d3ecea25.zip cpython-d08c7888229e78533648191dfe42e2d2d3ecea25.tar.gz cpython-d08c7888229e78533648191dfe42e2d2d3ecea25.tar.bz2 |
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.
Diffstat (limited to 'Objects/listobject.c')
0 files changed, 0 insertions, 0 deletions