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

gh-141510: Update mp_length of frozendict to use non atomic operation by corona10 · Pull Request #144913 · python/cpython · GitHub

/ cpython Public

gh-141510: Update mp_length of frozendict to use non atomic operation - #144913

Merged
corona10 merged 1 commit into
python:mainfrom
corona10:gh-141510-non-atomic
Feb 17, 2026
Merged

gh-141510: Update mp_length of frozendict to use non atomic operation#144913
corona10 merged 1 commit into
python:mainfrom
corona10:gh-141510-non-atomic

Conversation

corona10 commented Feb 17, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member Author

cc @kumaraditya303

vstinner 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

LGTM.

A frozendict is immutable, its size cannot change, and so it's safe to access it without atomic operation.

corona10 merged commit fc05e5e into python:main Feb 17, 2026
53 checks passed
brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request Feb 28, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL