Skip to content

gh-103061: multiprocessing.Pool: avoid hang when result deserialization fails#145519

Open
ggqlq wants to merge 10 commits intopython:mainfrom
ggqlq:gh-103061
Open

gh-103061: multiprocessing.Pool: avoid hang when result deserialization fails#145519
ggqlq wants to merge 10 commits intopython:mainfrom
ggqlq:gh-103061

Conversation

@ggqlq
Copy link
Contributor

@ggqlq ggqlq commented Mar 5, 2026

The _handle_results exits exits silently and cause callers to wait indefinitely.

This PR catches exceptions, fails all pending results to avoid hang and disables _cache to prevent further submits.

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.

1 participant