mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
GH-127010: Don't lazily track and untrack dicts (GH-127027)
This commit is contained in:
parent
7191b7662e
commit
aea0c586d1
12 changed files with 43 additions and 282 deletions
|
@ -107,8 +107,6 @@ static void
|
|||
track_module(PyModuleObject *m)
|
||||
{
|
||||
_PyDict_EnablePerThreadRefcounting(m->md_dict);
|
||||
PyObject_GC_Track(m->md_dict);
|
||||
|
||||
_PyObject_SetDeferredRefcount((PyObject *)m);
|
||||
PyObject_GC_Track(m);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue