Skip to content

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Feb 13, 2025

This could swallow a KeyboardInterrupt coming during stdin.close().

I don't know if it's easy to write a test for this, but if not I wouldn't worry about it because this will be a SyntaxWarning soon.

@iritkatriel iritkatriel added the type-bug An unexpected behavior, bug, or error label Feb 13, 2025
@iritkatriel iritkatriel requested a review from gpshead as a code owner February 13, 2025 13:25
@bedevere-app bedevere-app bot mentioned this pull request Feb 13, 2025
@iritkatriel iritkatriel requested a review from ncoghlan February 15, 2025 09:14
@iritkatriel iritkatriel merged commit 56495f8 into python:main Feb 16, 2025
48 checks passed
@picnixz
Copy link
Member

picnixz commented Feb 16, 2025

Do you want to backport it @iritkatriel?

@Fidget-Spinner
Copy link
Member

Fidget-Spinner commented Feb 16, 2025

Let's not backport this. It might lead to subtle differences and I don't want to break patch versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants