Skip to content

gh-142518: Document thread-safety guarantees of dict operations - #144184

Merged
lysnikolaou merged 9 commits into
python:mainfrom
lysnikolaou:dict-thread-safety
Feb 11, 2026
Merged

gh-142518: Document thread-safety guarantees of dict operations#144184
lysnikolaou merged 9 commits into
python:mainfrom
lysnikolaou:dict-thread-safety

Conversation

@lysnikolaou

@lysnikolaoulysnikolaou commented Jan 23, 2026

Copy link
Copy Markdown
Member

Comment threadDoc/library/stdtypes.rst Outdated
Comment threadDoc/library/stdtypes.rst Outdated
Comment threadDoc/library/stdtypes.rst Outdated
@lysnikolaou

Copy link
Copy Markdown
MemberAuthor

Could we have some more reviews on the content here?

cc @encukou if you have some spare cycles

@encukou
encukou self-requested a review January 30, 2026 13:30
Comment threadDoc/library/stdtypes.rst Outdated
Comment threadDoc/library/stdtypes.rst Outdated
Comment threadDoc/library/stdtypes.rst Outdated
Comment threadDoc/library/stdtypes.rst Outdated
Comment threadDoc/library/stdtypes.rst Outdated

@encukouencukou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
This or #144548 will need an update to link to the new terms, after the other is merged.

@lysnikolaou
lysnikolaou merged commit 35dc547 into python:mainFeb 11, 2026
29 checks passed
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsFeb 11, 2026
@lysnikolaoulysnikolaou added the needs backport to 3.14 bugs and security fixes label Feb 11, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @lysnikolaou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 11, 2026
…pythonGH-144184)
* Address feedback; move thread safety section below see-also
* Address feedback - don't mention equality comparison only
* Change admonition to rubric; cross-reference glossary
---------
(cherry picked from commit 35dc547)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-144708 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.14 bugs and security fixes label Feb 11, 2026
lysnikolaou added a commit that referenced this pull request Feb 11, 2026
GH-144184) (#144708)
* Address feedback; move thread safety section below see-also
* Address feedback - don't mention equality comparison only
* Change admonition to rubric; cross-reference glossary
---------
(cherry picked from commit 35dc547)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
…python#144184)
* Address feedback; move thread safety section below see-also
* Address feedback - don't mention equality comparison only
* Change admonition to rubric; cross-reference glossary
---------
Co-authored-by: Petr Viktorin <encukou@gmail.com>
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
…python#144184)
* Address feedback; move thread safety section below see-also
* Address feedback - don't mention equality comparison only
* Change admonition to rubric; cross-reference glossary
---------
Co-authored-by: Petr Viktorin <encukou@gmail.com>
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
…python#144184)
* Address feedback; move thread safety section below see-also
* Address feedback - don't mention equality comparison only
* Change admonition to rubric; cross-reference glossary
---------
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip newstopic-free-threading

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants

@lysnikolaou@encukou@picnixz