Skip to content

Comments

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

Open
lysnikolaou wants to merge 2 commits intopython:mainfrom
lysnikolaou:thread-safety-page
Open

gh-142518: Move thread safety sections into a new page#144716
lysnikolaou wants to merge 2 commits intopython:mainfrom
lysnikolaou:thread-safety-page

Conversation

@lysnikolaou
Copy link
Member

@lysnikolaou lysnikolaou commented Feb 11, 2026

  • 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
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Copy link
Member

@encukou encukou left a comment

Choose a reason for hiding this comment

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

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


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

Choose a reason for hiding this comment

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

Code blocks should use 4-space indentation.

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

(More of the same below.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge docs Documentation in the Doc dir needs backport to 3.14 bugs and security fixes skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants