gh-125996: fix thread safety of ordered dict by kumaraditya303 · Pull Request #133734 · python/cpython · GitHub
Skip to content

gh-125996: fix thread safety of ordered dict - #133734

Merged
kumaraditya303 merged 10 commits into
python:mainfrom
kumaraditya303:ordereddict
Oct 13, 2025
Merged

gh-125996: fix thread safety of ordered dict#133734
kumaraditya303 merged 10 commits into
python:mainfrom
kumaraditya303:ordereddict

Conversation

@kumaraditya303

@kumaraditya303 kumaraditya303 commented May 9, 2025

Copy link
Copy Markdown
Contributor

Comment thread Include/internal/pycore_dict.h Outdated
Comment thread Objects/odictobject.c Outdated
Comment thread Objects/odictobject.c Outdated
Comment thread Objects/odictobject.c Outdated
Comment thread Objects/odictobject.c Outdated
Comment thread Objects/odictobject.c Outdated

@colesbury colesbury left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would you please also provide some timing measurements for basic operations?

Comment thread Objects/odictobject.c Outdated
Comment thread Objects/odictobject.c Outdated
Comment thread Objects/odictobject.c Outdated
@kumaraditya303

Copy link
Copy Markdown
Contributor Author

@kumaraditya303 kumaraditya303 added the needs backport to 3.14 bugs and security fixes label Oct 8, 2025

@colesbury colesbury left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread Objects/odictobject.c Outdated
kumaraditya303 and others added 2 commits October 13, 2025 22:21
Co-authored-by: Sam Gross <colesbury@gmail.com>
@kumaraditya303
kumaraditya303 merged commit 6481539 into python:main Oct 13, 2025
45 checks passed
@miss-islington-app

Copy link
Copy Markdown

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

@kumaraditya303
kumaraditya303 deleted the ordereddict branch October 13, 2025 17:25
@miss-islington-app

Copy link
Copy Markdown

Sorry, @kumaraditya303, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 6481539a6d9692ddf13ab01baad1bc9133409413 3.14

@bedevere-app

bedevere-app Bot commented Oct 13, 2025

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 13, 2025
kumaraditya303 added a commit to kumaraditya303/cpython that referenced this pull request Oct 13, 2025
pythonGH-133734)

(cherry picked from commit 6481539)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
kumaraditya303 added a commit that referenced this pull request Oct 13, 2025
@bedevere-bot

Copy link
Copy Markdown

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.

5 participants