Skip to content

[3.13] gh-72353: Continue reading from the console after ignored Ctrl+C (GH-155434) - #156591

Open
miss-islington wants to merge 1 commit into
python:3.13from
miss-islington:backport-c922aa0-3.13
Open

[3.13] gh-72353: Continue reading from the console after ignored Ctrl+C (GH-155434)#156591
miss-islington wants to merge 1 commit into
python:3.13from
miss-islington:backport-c922aa0-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

If the console cancels a read because of Ctrl+C, but the SIGINT handler
does not raise an exception, restart the read instead of ending it as if
at end of file.
(cherry picked from commit c922aa0)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Valeriya Sinevich valeriya.sinevich@phystech.edu
Co-authored-by: Zackery Spytz zspytz@gmail.com

pythonGH-155434)

If the console cancels a read because of Ctrl+C, but the SIGINT handler
does not raise an exception, restart the read instead of ending it as if
at end of file.
(cherry picked from commit c922aa0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Valeriya Sinevich <valeriya.sinevich@phystech.edu>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
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.

2 participants