SIGN IN SIGN UP

GH-101291: Rearrange the size bits in PyLongObject (GH-102464)

* Eliminate all remaining uses of Py_SIZE and Py_SET_SIZE on PyLongObject, adding asserts.

* Change layout of size/sign bits in longobject to support future addition of immortal ints and tagged medium ints.

* Add functions to hide some internals of long object, and for setting sign and digit count.

* Replace uses of IS_MEDIUM_VALUE macro with _PyLong_IsCompact().
M
Mark Shannon committed
7559f5fda94ab568a1a910b17683ed81dc3426fb
Parent: 713df2c
Committed by GitHub <noreply@github.com> on 3/22/2023, 2:49:51 PM