Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
GH-104668: Don't callPyOS_*
hooks in subinterpreters#104674
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
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
arhadthedev commentedMay 22, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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. |
bedevere-bot commentedMay 22, 2023
GH-104760 is a backport of this pull request to the3.12 branch. |
I was waiting for the label. 🙂 |
Uh oh!
There was an error while loading.Please reload this page.
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/