Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9344b14

Browse files
committed
Add news about memory managent APIs changing.
1 parent 01e9461 commit 9344b14

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ Build
127127

128128
C API
129129

130+
- The type of tp_free has been changed from "void (*)(PyObject *)" to
131+
"void (*)(void *)".
132+
133+
- PyObject_Del, PyObject_GC_Del are now functions instead of macros.
134+
130135
- A type can now inherit its metatype from its base type. Previously,
131136
when PyType_Ready() was called, if ob_type was found to be NULL, it
132137
was always set to &PyType_Type; now it is set to base->ob_type,

0 commit comments

Comments
 (0)