Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic #119712

Merged
merged 1 commit into from
May 29, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 29, 2024

When the _Py_SINGLETON() is used, Argument Clinic now adds an explicit "pycore_runtime.h" include to get the macro. Previously, the macro may or may not be included indirectly by another include.

When the _Py_SINGLETON() is used, Argument Clinic now adds an
explicit "pycore_runtime.h" include to get the macro. Previously, the
macro may or may not be included indirectly by another include.
@vstinner vstinner merged commit 7ca74a7 into python:main May 29, 2024
47 checks passed
@vstinner vstinner deleted the clinic_singleton branch May 29, 2024 09:37
@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

Sorry, @vstinner, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 7ca74a760a5d3cdf48159f003d4db7c2778e9261 3.13

vstinner added a commit to vstinner/cpython that referenced this pull request May 29, 2024
…hon#119712)

When the _Py_SINGLETON() is used, Argument Clinic now adds an
explicit "pycore_runtime.h" include to get the macro. Previously, the
macro may or may not be included indirectly by another include.

(cherry picked from commit 7ca74a7)
@bedevere-app
Copy link

bedevere-app bot commented May 29, 2024

GH-119716 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label May 29, 2024
@vstinner
Copy link
Member Author

Merged, thanks for reviews.

vstinner added a commit that referenced this pull request May 29, 2024
…19712) (#119716)

gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#119712)

When the _Py_SINGLETON() is used, Argument Clinic now adds an
explicit "pycore_runtime.h" include to get the macro. Previously, the
macro may or may not be included indirectly by another include.

(cherry picked from commit 7ca74a7)
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…hon#119712)

When the _Py_SINGLETON() is used, Argument Clinic now adds an
explicit "pycore_runtime.h" include to get the macro. Previously, the
macro may or may not be included indirectly by another include.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…hon#119712)

When the _Py_SINGLETON() is used, Argument Clinic now adds an
explicit "pycore_runtime.h" include to get the macro. Previously, the
macro may or may not be included indirectly by another include.
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.

3 participants