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
tests.patcher_test.test_fork_after_monkey_patch fails on py3.9 #646
Comments
Seeing this on starting gunicorn with eventlet as well. Doesn't seem to have broken anything as far as I can tell. python 3.9.0, eventlet 0.28.0 |
@tipabu ideas? |
On surface it seems eventlet Semaphore must implement new API |
Took a cursory look as well. Relevant lines: _thread.Lock._at_fork_reinit() implementation: https://github.com/python/cpython/blob/3.9/Modules/_threadmodule.c#L210 should be fine to call Note threading.Semaphore doesn't have an _at_fork_reinit method |
CPython expects to be able to call such a method on RLocks, Conditions, and Events in threading; since we may monkey-patch threading to use Semaphores as locks, they need the method, too. Addresses eventlet#646
CPython expects to be able to call such a method on RLocks, Conditions, and Events in threading; since we may monkey-patch threading to use Semaphores as locks, they need the method, too. Addresses #646
downgrade to python 3.8 works for me |
Hello, I think this bug is now fixed, please can you check with the latest eventlet versions and confirm if you still reproduce the issue. I do not observe similar issue on my side. Thanks in advance. |
This looks like a regression due to a new test.
The text was updated successfully, but these errors were encountered: