mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
gh-115773: Add tests to exercise the _Py_DebugOffsets structure (#115774)
This commit is contained in:
parent
d53560deb2
commit
1752b51012
10 changed files with 818 additions and 36 deletions
|
@ -83,6 +83,11 @@ extern PyTypeObject _PyExc_MemoryError;
|
|||
.tuple_object = { \
|
||||
.ob_item = offsetof(PyTupleObject, ob_item), \
|
||||
}, \
|
||||
.unicode_object = { \
|
||||
.state = offsetof(PyUnicodeObject, _base._base.state), \
|
||||
.length = offsetof(PyUnicodeObject, _base._base.length), \
|
||||
.asciiobject_size = sizeof(PyASCIIObject), \
|
||||
}, \
|
||||
}, \
|
||||
.allocators = { \
|
||||
.standard = _pymem_allocators_standard_INIT(runtime), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue