-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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-104668: Don't call PyOS_*
hooks in subinterpreters
#104674
Conversation
We should advertise this in What's New as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Should we backport it to 3.12? Edit: I noticed that the label isn't added yet. |
@brandtbucher this didn't actually end up in the 3.12 branch. Should we backport it, or is it a new feature that should only go into 3.13? |
Thanks @brandtbucher for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
GH-104760 is a backport of this pull request to the 3.12 branch. |
I was waiting for the label. 🙂 |
PyOS_InputHook
andPyOS_ReadlineFunctionPointer
are now only called in the main interpreter.PyOS_*
hooks interact poorly with subinterpreters #104668📚 Documentation preview 📚: https://cpython-previews--104674.org.readthedocs.build/