Skip to content

[3.14] gh-146227: Fix wrong type in _Py_atomic_load_uint16 in pyatomic_std.h (gh-146229) - #146232

Merged
colesbury merged 1 commit into
python:3.14from
colesbury:backport-1eff27f-3.14
Mar 20, 2026
Merged

[3.14] gh-146227: Fix wrong type in _Py_atomic_load_uint16 in pyatomic_std.h (gh-146229)#146232
colesbury merged 1 commit into
python:3.14from
colesbury:backport-1eff27f-3.14

Conversation

@colesbury

@colesburycolesbury commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Also fix a few related issues in the pyatomic headers:

  • Fix _Py_atomic_store_uint_release in pyatomic_msc.h to use __stlr32 on ARM64 instead of a plain volatile store (which is only relaxed on ARM64).

  • Add missing _Py_atomic_store_uint_release to pyatomic_gcc.h.

  • Fix pseudo-code comment for _Py_atomic_store_ptr_release in pyatomic.h. (cherry picked from commit 1eff27f)

…yatomic_std.h (pythongh-146229)
Also fix a few related issues in the pyatomic headers:
* Fix _Py_atomic_store_uint_release in pyatomic_msc.h to use __stlr32
on ARM64 instead of a plain volatile store (which is only relaxed on
ARM64).
* Add missing _Py_atomic_store_uint_release to pyatomic_gcc.h.
* Fix pseudo-code comment for _Py_atomic_store_ptr_release in
pyatomic.h.
(cherry picked from commit 1eff27f)
Co-authored-by: Sam Gross <colesbury@gmail.com>
@colesbury
colesbury enabled auto-merge (squash) March 20, 2026 19:46
@colesbury
colesbury merged commit 73e74ee into python:3.14Mar 20, 2026
51 checks passed
@colesbury
colesbury deleted the backport-1eff27f-3.14 branch March 20, 2026 20:21
Sign up for freeto 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.

1 participant

@colesbury