gh-142518: Move thread safety sections into a new page#144716
Merged
lysnikolaou merged 3 commits intopython:mainfrom Feb 25, 2026
Merged
gh-142518: Move thread safety sections into a new page#144716lysnikolaou merged 3 commits intopython:mainfrom
lysnikolaou merged 3 commits intopython:mainfrom
Conversation
- Create a new page for thread safety notes for built-in types - Move thread safety notes for `list` into the new page - Move thread safety notes for `dict` into the new page
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
encukou
approved these changes
Feb 18, 2026
Doc/library/threadsafety.rst
Outdated
|
|
||
| # NOT atomic: check-then-act | ||
| if lst: | ||
| item = lst.pop() |
Member
There was a problem hiding this comment.
Code blocks should use 4-space indentation.
Suggested change
| item = lst.pop() | |
| item = lst.pop() |
(More of the same below.)
|
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 25, 2026
…H-144716) - Create a new page for thread safety notes for built-in types - Move thread safety notes for `list` into the new page - Move thread safety notes for `dict` into the new page --------- (cherry picked from commit 017ccd3bf420b79333f79f44a470c9c30a09aadc) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
|
GH-145223 is a backport of this pull request to the 3.14 branch. |
lysnikolaou
added a commit
that referenced
this pull request
Feb 25, 2026
) (#145223) - Create a new page for thread safety notes for built-in types - Move thread safety notes for `list` into the new page - Move thread safety notes for `dict` into the new page --------- (cherry picked from commit 017ccd3) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
listinto the new pagedictinto the new page📚 Documentation preview 📚: https://cpython-previews--144716.org.readthedocs.build/