-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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-102304: Fix 2 New Stable ABI Functions #104762
gh-102304: Fix 2 New Stable ABI Functions #104762
Conversation
I expect you'll want to backport this to 3.12? |
A different fix is to always implement Py_INCREF() and Py_DECREF() as opaque function calls when Py_DEBUG macro is defined. It may be safer in terms of stable ABI, no? |
Co-authored-by: T. Wouters <thomas@python.org>
Co-authored-by: T. Wouters <thomas@python.org>
I created PR #104763 to implement this idea. |
Thanks @ericsnowcurrently for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, @ericsnowcurrently, I could not cleanly backport this to |
Hmm, I had not meant to merge this before checking with @vstinner about gh-104763. I'm not sure how that happened accidentally. 😟 That said, I was already leaning toward merging this and then letting gh-104763 roll it back if applicable. The most important thing for me is that we get the per-interpreter reftotal working for 3.12+. So I'll go ahead with the backport at this point. |
GH-105123 is a backport of this pull request to the 3.12 branch. |
I'm not convinced that |
I'm fine with changing the name, but I'd rather gh-104763 make it irrelevant. 😄 |
These were missed.