-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
Signaling an asyncio subprocess might raise ProcessLookupError, even if you haven't called .wait() yet #88319
Comments
# Summary Basic use of I assume (but haven't checked) that this problem extends to This breaks the expected POSIX semantics of signaling and waiting on a process. See the "Expected behavior" section. # Test case I've tested this on macOS 11.2.3 with Python 3.7.9 and Python 3.10.0a7, both installed via pyenv.
The
# Expected behavior and discussion Normally, with POSIX semantics, the So, I expect that on any given
asyncio internals are mostly over my head. But I think the problem is that the event loop opportunistically calls the So, as a corollary to the expectations listed above, I think the implementation details should be either:
|
Duplicate of #87744 |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: