mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
gh-112075: Make _PyDict_LoadGlobal thread safe (#117529)
Make _PyDict_LoadGlobal threadsafe
This commit is contained in:
parent
42205143f8
commit
434bc593df
6 changed files with 23 additions and 29 deletions
1
Python/generated_cases.c.h
generated
1
Python/generated_cases.c.h
generated
|
|
@ -4256,7 +4256,6 @@
|
|||
}
|
||||
if (true) goto error;
|
||||
}
|
||||
Py_INCREF(res);
|
||||
}
|
||||
else {
|
||||
/* Slow-path if globals or builtins is not a dict */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue