summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorPieter Eendebak <pieter.eendebak@gmail.com>2025-01-28 21:55:45 (GMT)
committerGitHub <noreply@github.com>2025-01-28 21:55:45 (GMT)
commit64c417dee5594c882beac03e7d2942ca05b5c204 (patch)
tree2452eedac3d0f2bab6455dbd41ad4cb8617b5d87 /Python/pylifecycle.c
parenta4459c34ea4270311f0b7e22f1203af5ccc39875 (diff)
downloadcpython-64c417dee5594c882beac03e7d2942ca05b5c204.zip
cpython-64c417dee5594c882beac03e7d2942ca05b5c204.tar.gz
cpython-64c417dee5594c882beac03e7d2942ca05b5c204.tar.bz2
gh-112075: Remove critical section in dict.get (gh-129336)
The `dict.get` implementation uses `_Py_dict_lookup_threadsafe`, which is thread-safe, so we remove the critical section from the argument clinic. Add a test for concurrent dict get and set operations.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions