mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
final patches from Neil Schemenauer for garbage collection
This commit is contained in:
parent
4e542a3d99
commit
c5007aa5c3
16 changed files with 956 additions and 18 deletions
|
@ -2892,7 +2892,7 @@ Instance_New(PyObject *cls, PyObject *args) {
|
|||
Py_DECREF(inst);
|
||||
goto err;
|
||||
}
|
||||
|
||||
PyObject_GC_Init(inst);
|
||||
return (PyObject *)inst;
|
||||
}
|
||||
Py_DECREF(__getinitargs__);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue