8000 gh-88050: Fix asyncio subprocess kill process cleanly when process is blocked by kumaraditya303 · Pull Request #32073 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-88050: Fix asyncio subprocess kill process cleanly when process is blocked #32073

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 25 commits into from
Oct 5, 2022

Conversation

kumaraditya303
Copy link
Contributor
@kumaraditya303 kumaraditya303 commented Mar 23, 2022

This PR fixes the issue by calling the waiters after all the callbacks are executed so that no callbacks are scheduled after the method returns.

@kumaraditya303 kumaraditya303 force-pushed the fix-asyncio-subprocess branch from 98f282f to 485b26b Compare March 23, 2022 09:36
@kumaraditya303 kumaraditya303 marked this pull request as ready for review March 23, 2022 10:26
@asvetlov asvetlov changed the title bpo-43884: Fix asyncio subprocess kill process cleanly when process i… bpo-43884: Fix asyncio subprocess kill process cleanly when process is blocked Mar 23, 2022
@asvetlov
Copy link
Contributor

What's wrong with Windows?

@kumaraditya303 kumaraditya303 changed the title bpo-43884: Fix asyncio subprocess kill process cleanly when process is blocked gh-88050: Fix asyncio subprocess kill process cleanly when process is blocked Apr 17, 2022