mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Revert "bpo-30860: Consolidate stateful runtime globals." (#3379)
Windows buildbots started failing due to include-related errors.
This commit is contained in:
parent
833860615b
commit
05351c1bd8
40 changed files with 1327 additions and 2726 deletions
|
@ -1115,7 +1115,6 @@ frozenset_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|||
}
|
||||
/* The empty frozenset is a singleton */
|
||||
if (emptyfrozenset == NULL)
|
||||
/* There is a possible (relatively harmless) race here. */
|
||||
emptyfrozenset = make_new_set(type, NULL);
|
||||
Py_XINCREF(emptyfrozenset);
|
||||
return emptyfrozenset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue