summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorDino Viehland <dinoviehland@meta.com>2024-04-04 19:26:07 (GMT)
committerGitHub <noreply@github.com>2024-04-04 19:26:07 (GMT)
commit434bc593df4c0274b8afd3c1dcdc9234f469d9bf (patch)
tree9ff15a94dd14ef903d4bd8249eab45753fd6703e /Python/executor_cases.c.h
parent42205143f8b3211d1392f1d9f2cf6717bdaa5b47 (diff)
downloadcpython-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/executor_cases.c.h')
-rw-r--r--Python/executor_cases.c.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h
index 8c3d41b..a6e28f6 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -1254,7 +1254,6 @@
}
if (true) JUMP_TO_ERROR();
}
- Py_INCREF(res);
}
else {
/* Slow-path if globals or builtins is not a dict */