8000 Remove the (not thread.is_alive()) assertion by vbraun · Pull Request #2115 · gevent/gevent · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove the (not thread.is_alive()) assertion #2115

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vbraun
Copy link
@vbraun vbraun commented Jun 6, 2025

This assertion apparently has a small chance of failing, possibly by a race condition. It was already skipped on Python 3.13+.

Fixes #2111

Having said that, I don't understand the underlying issue. https://github.com/he1pu has posted a testcase in #2111, and the patch does fix his testcase.

FWIW the assertion was originally added in 8622a2b

This assertion apparently has a small chance of failing, possibly by a
race condition. It was already skipped on Python 3.13+.

Fixes gevent#2111
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.

Exception ignored, AssertionError
1 participant
2A93
0