File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1703,6 +1703,17 @@ New features
17031703* Add :c:func: `PyTuple_FromArray ` to create a :class: `tuple ` from an array.
17041704 (Contributed by Victor Stinner in :gh: `111489 `.)
17051705
1706+ * Add functions that are guaranteed to be safe for use in
1707+ :c:member: `~PyTypeObject.tp_traverse ` handlers:
1708+ :c:func: `PyObject_GetTypeData_DuringGC `,
1709+ :c:func: `PyObject_GetItemData_DuringGC `,
1710+ :c:func: `PyType_GetModuleState_DuringGC `,
1711+ :c:func: `PyModule_GetState_DuringGC `, :c:func: `PyModule_GetToken_DuringGC `,
1712+ :c:func: `PyType_GetBaseByToken_DuringGC `,
1713+ :c:func: `PyType_GetModule_DuringGC `,
1714+ :c:func: `PyType_GetModuleByToken_DuringGC `.
1715+ (Contributed by Petr Viktorin in :gh: `145925 `.)
1716+
17061717* Add :c:func: `PyObject_Dump ` to dump an object to ``stderr ``.
17071718 It should only be used for debugging.
17081719 (Contributed by Victor Stinner in :gh: `141070 `.)
You can’t perform that action at this time.
0 commit comments