mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Add news about memory managent APIs changing.
This commit is contained in:
parent
01e94618f5
commit
9344b14828
1 changed files with 5 additions and 0 deletions
|
|
@ -127,6 +127,11 @@ Build
|
|||
|
||||
C API
|
||||
|
||||
- The type of tp_free has been changed from "void (*)(PyObject *)" to
|
||||
"void (*)(void *)".
|
||||
|
||||
- PyObject_Del, PyObject_GC_Del are now functions instead of macros.
|
||||
|
||||
- A type can now inherit its metatype from its base type. Previously,
|
||||
when PyType_Ready() was called, if ob_type was found to be NULL, it
|
||||
was always set to &PyType_Type; now it is set to base->ob_type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue