FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-142518: Move thread safety sections into a new page by lysnikolaou · Pull Request #144716 · python/cpython · GitHub

/ cpython Public

gh-142518: Move thread safety sections into a new page - #144716

Merged
lysnikolaou merged 3 commits into
python:mainfrom
lysnikolaou:thread-safety-page
Feb 25, 2026
Merged

gh-142518: Move thread safety sections into a new page#144716
lysnikolaou merged 3 commits into
python:mainfrom
lysnikolaou:thread-safety-page

Conversation

lysnikolaou commented Feb 11, 2026
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member
  • 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

📚 Documentation preview 📚: https://cpython-previews--144716.org.readthedocs.build/

- 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
Comment thread Doc/library/threadsafety.rst Outdated
Comment thread Doc/library/threadsafety.rst Outdated
Comment thread Doc/library/threadsafety.rst Outdated
Comment thread Doc/library/threadsafety.rst Outdated
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

encukou 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Except a PEP-8 nitpick, this looks great to me! Thank you!

Comment thread Doc/library/threadsafety.rst Outdated

# NOT atomic: check-then-act
if lst:
item = lst.pop()

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Code blocks should use 4-space indentation.

Suggested change
item = lst.pop()
item = lst.pop()

(More of the same below.)

lysnikolaou merged commit 017ccd3 into python:main Feb 25, 2026
29 checks passed

Copy link
Copy Markdown

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

github-project-automation Bot moved this from Todo to Done in Docs PRs Feb 25, 2026
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 017ccd3)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>

bedevere-app Bot commented Feb 25, 2026

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Feb 25, 2026
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>
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
…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
---------

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
…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
---------

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

Labels

docs Documentation in the Doc dir skip news topic-free-threading

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL