@@ -34,6 +34,7 @@ extern PyTypeObject _PyExc_MemoryError;
34
34
.debug_offsets = { \
35
35
.cookie = "xdebugpy", \
36
36
.version = PY_VERSION_HEX, \
37
+ .free_threaded = Py_GIL_DISABLED, \
37
38
.runtime_state = { \
38
39
.size = sizeof(_PyRuntimeState), \
39
40
.finalizing = offsetof(_PyRuntimeState, _finalizing), \
@@ -48,6 +49,7 @@ extern PyTypeObject _PyExc_MemoryError;
48
49
.imports_modules = offsetof(PyInterpreterState, imports.modules), \
49
50
.sysdict = offsetof(PyInterpreterState, sysdict), \
50
51
.builtins = offsetof(PyInterpreterState, builtins), \
52
+ ._gil = offsetof(PyInterpreterState, _gil), \
51
53
.ceval_gil = offsetof(PyInterpreterState, ceval.gil), \
52
54
.gil_runtime_state_locked = offsetof(PyInterpreterState, _gil.locked), \
53
55
.gil_runtime_state_holder = offsetof(PyInterpreterState, _gil.last_holder), \
@@ -90,10 +92,36 @@ extern PyTypeObject _PyExc_MemoryError;
90
92
.type_object = { \
91
93
.size = sizeof(PyTypeObject), \
92
94
.tp_name = offsetof(PyTypeObject, tp_name), \
95
+ .tp_repr = offsetof(PyTypeObject, tp_repr), \
96
+ .tp_flags = offsetof(PyTypeObject, tp_flags), \
93
97
}, \
94
98
.tuple_object = { \
95
99
.size = sizeof(PyTupleObject), \
96
100
.ob_item = offsetof(PyTupleObject, ob_item), \
101
+ .ob_size = offsetof(PyTupleObject, ob_base.ob_size), \
102
+ }, \
103
+ .list_object = { \
104
+ .size = sizeof(PyListObject), \
105
+ .ob_item = offsetof(PyListObject, ob_item), \
106
+ }, \
107
+ .dict_object = { \
108
+ .size = sizeof(PyDictObject), \
109
+ .ma_keys = offsetof(PyDictObject, ma_keys), \
110
+ .ma_values = offsetof(PyDictObject, ma_values), \
111
+ }, \
112
+ .float_object = { \
113
+ .size = sizeof(PyFloatObject), \
114
+ .ob_fval = offsetof(PyFloatObject, ob_fval), \
115
+ }, \
116
+ .long_object = { \
117
+ .size = sizeof(PyLongObject), \
118
+ .lv_tag = offsetof(_PyLongValue, lv_tag), \
119
+ .ob_digit = offsetof(_PyLongValue, ob_digit), \
120
+ }, \
121
+ .bytes_object = { \
122
+ .size = sizeof(PyBytesObject), \
123
+ .ob_size = offsetof(PyBytesObject, ob_base.ob_size), \
124
+ .ob_sval = offsetof(PyBytesObject, ob_sval), \
97
125
}, \
98
126
.unicode_object = { \
99
127
.size = sizeof(PyUnicodeObject), \
0 commit comments