Skip to content

Conversation

@SubbaraoGarlapati
Copy link
Contributor

Change _Py_atomic_store_uint_release() from using memory_order_relaxed to memory_order_release.

@bedevere-app
Copy link

bedevere-app bot commented Nov 14, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bedevere-app
Copy link

bedevere-app bot commented Nov 14, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@python-cla-bot
Copy link

python-cla-bot bot commented Nov 14, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@sharktide
Copy link
Contributor

CC @ZeroIntensity

Also skip news here

Copy link
Contributor

@sharktide sharktide left a comment

Choose a reason for hiding this comment

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

This doesn’t appear to have a linked issue or be a trivial change

I would create one that explains the problem in detail, unless I am mistaken. :)

@ZeroIntensity
Copy link
Member

CC @ZeroIntensity

I believe the person you're looking for is @colesbury

To me, this seems trivial; I don't see any need to create an issue, especially since we don't actually use _Py_atomic_store_uint_release anywhere, but I'm going to leave that up to Sam since this is all his code.

@sharktide
Copy link
Contributor

CC @ZeroIntensity

I believe the person you're looking for is @colesbury

To me, this seems trivial; I don't see any need to create an issue, especially since we don't actually use _Py_atomic_store_uint_release anywhere, but I'm going to leave that up to Sam since this is all his code.

Probably for the best

Copy link
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

I think it is correct. We already have the relaxed form for uint (it is located some lines above and not visible in the diff) but we lack its release form.

@colesbury
Copy link
Contributor

LGTM

@kumaraditya303 kumaraditya303 merged commit 7800b78 into python:main Nov 17, 2025
56 checks passed
@colesbury colesbury added the needs backport to 3.14 bugs and security fixes label Nov 17, 2025
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 17, 2025
(cherry picked from commit 7800b78)

Co-authored-by: SubbaraoGarlapati <53627478+SubbaraoGarlapati@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Nov 17, 2025

GH-141663 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 Nov 17, 2025
colesbury pushed a commit that referenced this pull request Nov 17, 2025
GH-141663)

(cherry picked from commit 7800b78)

Co-authored-by: SubbaraoGarlapati <53627478+SubbaraoGarlapati@users.noreply.github.com>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
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.

6 participants