pyrepl fails with an ugly traceback when ioctls are not allowed on tty stdio #134466
Labels
stdlib
Python modules in the Lib dir
topic-repl
Related to the interactive shell
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
If you remove the ability to write ioctls to tty stdio, for example on macOS by doing
Then PyREPL fails:
You can work around this, by re-enabling ioctls:
but pyrepl should probably be robust to this and fall back to a regular console.
As requested, notifying @ambv
CPython versions tested on:
3.13
Operating systems tested on:
macOS
The text was updated successfully, but these errors were encountered: