diff options
author | Pieter Eendebak <pieter.eendebak@gmail.com> | 2025-01-28 22:55:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-28 21:55:45 +0000 |
commit | 64c417dee5594c882beac03e7d2942ca05b5c204 (patch) | |
tree | 2452eedac3d0f2bab6455dbd41ad4cb8617b5d87 /Lib/test/test_pydoc/pydoc_mod.py | |
parent | a4459c34ea4270311f0b7e22f1203af5ccc39875 (diff) | |
download | cpython-64c417dee5594c882beac03e7d2942ca05b5c204.tar.gz cpython-64c417dee5594c882beac03e7d2942ca05b5c204.zip |
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 'Lib/test/test_pydoc/pydoc_mod.py')
0 files changed, 0 insertions, 0 deletions