Skip to content
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

False deadlock detection in case of exception in run_in_executor #497

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

namezys
Copy link

@namezys namezys commented Feb 28, 2025

See issue #495

I suppose this problem can only affect developing/debugging because it should not happen in production.
In my case, the executor was shut down unexpectedly, but I spent time to find the deadlock.
Also, a real exception will be raised only one time, and you will get deadlock detection further, which is more confusing.

However, I have doubts about catching a cancelation error here like in awaiting. A quick review of PEPs didn't answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant