diff options
author | Dino Viehland <dinoviehland@meta.com> | 2024-04-04 19:26:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 19:26:07 (GMT) |
commit | 434bc593df4c0274b8afd3c1dcdc9234f469d9bf (patch) | |
tree | 9ff15a94dd14ef903d4bd8249eab45753fd6703e /Python/bytecodes.c | |
parent | 42205143f8b3211d1392f1d9f2cf6717bdaa5b47 (diff) | |
download | cpython-434bc593df4c0274b8afd3c1dcdc9234f469d9bf.zip cpython-434bc593df4c0274b8afd3c1dcdc9234f469d9bf.tar.gz cpython-434bc593df4c0274b8afd3c1dcdc9234f469d9bf.tar.bz2 |
gh-112075: Make _PyDict_LoadGlobal thread safe (#117529)
Make _PyDict_LoadGlobal threadsafe
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index 8af48d9..d6fb66a 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -1427,7 +1427,6 @@ dummy_func( } ERROR_IF(true, error); } - Py_INCREF(res); } else { /* Slow-path if globals or builtins is not a dict */ |