mirror of https://github.com/python/cpython
[3.13] gh-123484: Fix the debug offsets for PyLongObject (GH-123485) (#123499)
This commit is contained in:
parent
eec25e5d47
commit
8ef277e5e9
|
@ -117,8 +117,8 @@ extern PyTypeObject _PyExc_MemoryError;
|
|||
}, \
|
||||
.long_object = { \
|
||||
.size = sizeof(PyLongObject), \
|
||||
.lv_tag = offsetof(_PyLongValue, lv_tag), \
|
||||
.ob_digit = offsetof(_PyLongValue, ob_digit), \
|
||||
.lv_tag = offsetof(PyLongObject, long_value.lv_tag), \
|
||||
.ob_digit = offsetof(PyLongObject, long_value.ob_digit), \
|
||||
}, \
|
||||
.bytes_object = { \
|
||||
.size = sizeof(PyBytesObject), \
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Fix ``_Py_DebugOffsets`` for long objects to be relative to the start of the
|
||||
object rather than the start of a subobject.
|
Loading…
Reference in New Issue