gh-115773: Add tests to exercise the _Py_DebugOffsets structure (#115774)

This commit is contained in:
Pablo Galindo Salgado 2024-02-28 10:17:34 +00:00 committed by GitHub
parent d53560deb2
commit 1752b51012
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 818 additions and 36 deletions

View file

@ -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), \