gh-115999: remove redundant check in free-threading from `_STORE_ATTR_WITH_HINT` by kumaraditya303 · Pull Request #136249 · python/cpython · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

gh-115999: remove redundant check in free-threading from _STORE_ATTR_WITH_HINT #136249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 4, 2025

Conversation

kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Jul 3, 2025

@colesbury
Copy link
Contributor

You'll need to run make regen-cases

@kumaraditya303
Copy link
Contributor Author

You'll need to run make regen-cases

Sorry, missed that, fixed now

@colesbury colesbury added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 3, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @colesbury for commit fb7523c 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F136249%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jul 3, 2025
@colesbury
Copy link
Contributor

For posterity: we don't need to re-check _PyObject_GetManagedDict() because LOCK_OBJECT never blocks. If LOCK_OBJECT() blocked (and detached the thread state), then we would have problems because the quiescent state might mean that a replaced manage dictionary could be freed.

@kumaraditya303 kumaraditya303 merged commit 85f092f into python:main Jul 4, 2025
134 of 142 checks passed
@kumaraditya303 kumaraditya303 deleted the special branch July 4, 2025 03:34
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

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.