gh-112075: Remove critical section in dict.get by eendebakpt · Pull Request #129336 · python/cpython
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.4k
Merged
gh-112075: Remove critical section in dict.get#129336
colesbury merged 3 commits intopython:mainfrom
gh-112075: Remove critical section in dict.get#129336
colesbury merged 3 commits intopython:mainfrom
Conversation
Copy link Copy Markdown
Contributor
- The
dict.getimplementation uses_Py_dict_lookup_threadsafewhich is thread-safe, so we remove the critical section from the argument clinic. - Add a test for concurrent dict get and set operations
eendebakpt added 2 commits
January 27, 2025 09:24
eendebakpt
requested review from
markshannon and
methane
as code owners
bedevere-app
bot
added
the
awaiting review
label
bedevere-app
bot
mentioned this pull request
colesbury
added
the
skip news
label
colesbury approved these changes Jan 28, 2025
bedevere-app
bot
added
awaiting merge
and removed
awaiting review
labels
colesbury
added
the
topic-free-threading
label
colesbury
enabled auto-merge (squash)
Copy link Copy Markdown
Contributor
colesbury
commented
Jan 28, 2025
colesbury commented
Jan 28, 2025Thanks!
colesbury
merged commit
64c417d
into
python:main
bedevere-app
bot
removed
the
awaiting merge
label
eendebakpt
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment