Skip to content

Conversation

@dura0ok
Copy link
Contributor

@dura0ok dura0ok commented Jun 10, 2025

No description provided.

…rnal programs

When running Python REPL under another program (e.g., strace) and pressing Ctrl-C,
termios raises `EIO` during terminal state restoration, causing infinite exception tracebacks.

This patch catches `termios.error` with `errno.EIO` in `reader.prepare()` to avoid
recursive failure loops when restoring console state.
@cmaloney
Copy link
Contributor

cmaloney commented Jul 1, 2025

@dura0ok planning to keep working / iterating on this?

It looks like the windows bots failed because the termios module is not available on Windows.

@dura0ok
Copy link
Contributor Author

dura0ok commented Jul 1, 2025

@cmaloney Sorry about that, I completely forgot. Yes, I’m planning to finish it soon — will get back to it in the near future.

@ambv
Copy link
Contributor

ambv commented Sep 17, 2025

We went with #138133 instead.

@ambv ambv closed this Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants