Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-146227: Fix wrong type in _Py_atomic_load_uint16 in pyatomic_std.h#146229

Merged
colesbury merged 1 commit intopython:mainfrom
colesbury:gh-146227-fix-pyatomic-bugs
Mar 20, 2026
Merged

gh-146227: Fix wrong type in _Py_atomic_load_uint16 in pyatomic_std.h#146229
colesbury merged 1 commit intopython:mainfrom
colesbury:gh-146227-fix-pyatomic-bugs

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury commentedMar 20, 2026
edited by bedevere-appbot
Loading

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.

…_std.hAlso 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 inpyatomic.h.
@colesburycolesbury added topic-free-threading needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsMar 20, 2026
@colesburycolesbury marked this pull request as ready for reviewMarch 20, 2026 17:24
@colesburycolesbury requested a review frommpageMarch 20, 2026 17:24
Copy link
Member

@corona10corona10 left a comment
edited
Loading

Choose a reason for hiding this comment

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

lgtm

@colesburycolesbury merged commit1eff27f intopython:mainMar 20, 2026
62 checks passed
@colesburycolesbury deleted the gh-146227-fix-pyatomic-bugs branchMarch 20, 2026 19:38
@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

Sorry,@colesbury, I could not cleanly backport this to3.14 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 1eff27f2c0452b3114bcf139062c87c025842c3e 3.14

@miss-islington-app
Copy link

Sorry,@colesbury, I could not cleanly backport this to3.13 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 1eff27f2c0452b3114bcf139062c87c025842c3e 3.13

colesbury added a commit to colesbury/cpython that referenced this pull requestMar 20, 2026
…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 commit1eff27f)Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app
Copy link

GH-146232 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMar 20, 2026
colesbury added a commit to colesbury/cpython that referenced this pull requestMar 20, 2026
…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 commit1eff27f)Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app
Copy link

GH-146233 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMar 20, 2026
@colesburycolesbury removed their assignmentMar 20, 2026
colesbury added a commit that referenced this pull requestMar 20, 2026
…c_std.h (gh-146229) (#146232)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 commit1eff27f)
colesbury added a commit that referenced this pull requestMar 20, 2026
…c_std.h (gh-146229) (#146233)Also fix a related issue in the pyatomic headers:* Fix pseudo-code comment for _Py_atomic_store_ptr_release in  pyatomic.h.(cherry picked from commit1eff27f)
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull requestMar 22, 2026
* upstream/main: (1475 commits)  Docs: replace all `datetime` imports with `import datetime as dt` (python#145640)pythongh-146153: Use `frozendict` in pure python fallback for `curses.has_key` (python#146154)pythongh-138234: clarify returncode behavior for subprocesses created with `shell=True` (python#138536)pythongh-140947: fix contextvars handling for server tasks in asyncio  (python#141158)pythonGH-100108: Add async generators best practices section (python#141885)pythonGH-145667: Merge `GET_ITER` and `GET_YIELD_FROM_ITER` (pythonGH-146120)pythongh-146228: Better fork support in cached FastPath (python#146231)pythongh-146227: Fix wrong type in _Py_atomic_load_uint16 in pyatomic_std.h (pythongh-146229)pythongh-145980: Fix copy/paste mistake in binascii.c (python#146230)pythongh-146092: Raise MemoryError on allocation failure in _zoneinfo (python#146165)pythongh-91279: Note `SOURCE_DATE_EPOCH` support in `ZipFile.writestr()` doc (python#139396)pythongh-146196: Fix Undefined Behavior in _PyUnicodeWriter_WriteASCIIString() (python#146201)pythongh-143930: Reject leading dashes in webbrowser URLspythongh-145916: Soft-deprecate ctypes.util.find_library (pythonGH-145919)pythongh-146205: Check the errno with != 0 in close impls in select module (python#146206)pythongh-146171: Fix nested AttributeError suggestions (python#146188)pythongh-146099: Optimize _GUARD_CODE_VERSION+IP via function version symbols (pythonGH-146101)pythongh-145980: Add support for alternative alphabets in the binascii module (pythonGH-145981)pythongh-145754: Update signature retrieval in unittest.mock to use forwardref annotation format (python#145756)pythongh-145177: Add emscripten run --test, uses test args from config.toml (python#146160)  ...
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@corona10corona10corona10 approved these changes

@mpagempageAwaiting requested review from mpage

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@colesbury@corona10

[8]ページ先頭

©2009-2026 Movatter.jp