Skip to content

gh-130080: return in finally in subprocess.py #130081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2025

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