You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a minimal dockerfile if you want to reproduce locally:
FROM pypy:2-7.0.0
RUN pip install eventlet==0.24.1
RUN echo "from threading import RLock; import eventlet; lock = RLock(); lock.acquire(); eventlet.monkey_patch()" > /run.py
ENTRYPOINT ["pypy", "/run.py"]
Cause
The latest version of PyPy backports threading._CRLock from Python3. It uses this as threading.RLock and demotes the original python implementation to threading._PyRLock.
The text was updated successfully, but these errors were encountered:
Issue
Calling
monkey_patch
on PyPy 2.7 v7.x.x causes an AttributeError if there are any existing RLock objects.Here's a minimal dockerfile if you want to reproduce locally:
Cause
The latest version of PyPy backports
threading._CRLock
from Python3. It uses this asthreading.RLock
and demotes the original python implementation tothreading._PyRLock
.The text was updated successfully, but these errors were encountered: