Skip to content

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

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

colesbury merged 1 commit into
python:3.13from
colesbury:backport-1eff27f-3.13

Conversation

@colesbury

@colesbury colesbury commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

Also fix a few related issues in the pyatomic headers:

  • 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 fa2f9a3 into python:3.13 Mar 20, 2026
39 checks passed
@colesbury
colesbury deleted the backport-1eff27f-3.13 branch March 20, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant