mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
bpo-40521: Make the empty frozenset per interpreter (GH-21068)
Each interpreter now has its own empty frozenset singleton.
This commit is contained in:
@@ -1255,9 +1255,7 @@ finalize_interp_types(PyThreadState *tstate, int is_main_interp)
|
||||
_PyAsyncGen_Fini(tstate);
|
||||
_PyContext_Fini(tstate);
|
||||
|
||||
if (is_main_interp) {
|
||||
_PySet_Fini();
|
||||
}
|
||||
_PySet_Fini(tstate);
|
||||
_PyDict_Fini(tstate);
|
||||
_PyList_Fini(tstate);
|
||||
_PyTuple_Fini(tstate);
|
||||
|
||||
Reference in New Issue
Block a user