mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-108362: Revert "GH-108362: Incremental GC implementation (GH-108038)" (#115132)
Revert "GH-108362: Incremental GC implementation (GH-108038)"
This reverts commit 36518e69d7
.
This commit is contained in:
parent
d0322fdf2c
commit
8a3c499ffe
13 changed files with 446 additions and 701 deletions
|
@ -1030,7 +1030,7 @@ _extensions_cache_set(PyObject *filename, PyObject *name, PyModuleDef *def)
|
|||
if (!already_set) {
|
||||
/* We assume that all module defs are statically allocated
|
||||
and will never be freed. Otherwise, we would incref here. */
|
||||
_Py_SetImmortal((PyObject *)def);
|
||||
_Py_SetImmortal(def);
|
||||
}
|
||||
res = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue