You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pyatomic include statement shouldn't use "cpython/*" but just "*" #129296
I have no attachment to the change, though it does seem more consistent with the other library includes. Want me to add that one to the existing pull request or just put another one up?
Activity
ZeroIntensity commentedon Jan 26, 2025
The compiler should be falling back to the include path regardless--there's no actual compile error in practice, is there?
cc @colesbury
pythongh-129296: Fix `pyatomic.h` include paths
colesbury commentedon Jan 28, 2025
Yeah, I'm not sure there's any problem in practice, but it seems like we might as well fix it, and @zanieb already put up a PR.
There's one more place in
Include/cpythonwith a similar pattern:cpython/Include/cpython/pythread.h
Line 25 in a4459c3
zanieb commentedon Jan 28, 2025
I have no attachment to the change, though it does seem more consistent with the other library includes. Want me to add that one to the existing pull request or just put another one up?
gh-129296: Fix `pyatomic.h` include paths (#129320)
vstinner commentedon Jan 29, 2025
Thanks @timprepscius for the bug report and thanks @zanieb for the fix!
pythongh-129296: Fix `pyatomic.h` include paths (pythonGH-129320)
[3.12] gh-129296: Fix `pythread.h` include paths (#129320) (#130668)
[3.13] gh-129296: Fix `pyatomic.h` include paths (GH-129320) (#130667)