Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 331 Bytes

2023-05-19-10-22-34.gh-issue-104668.MLX1g9.rst

File metadata and controls

5 lines (5 loc) · 331 Bytes

Don't call :c:var:`PyOS_InputHook` or :c:var:`PyOS_ReadlineFunctionPointer` in subinterpreters, since it's generally difficult to avoid using global state in their registered callbacks. This also avoids situations where extensions may find themselves running in a subinterpreter they don't support (or haven't yet been loaded in).