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
{{ message }}
This repository has been archived by the owner on May 4, 2019. It is now read-only.
gevent 1.0 on PyPy 2.2+ throws an exception when an SSL socket is created. Here's a partial stack trace (removing private paths, etc.)
Traceback (most recent call last):
File "app_main.py", line 72, in run_toplevel
*snip*
File "/usr/local/Cellar/pypy/2.2.1/libexec/lib-python/2.7/httplib.py", line 1028, in getresponse
response = self.response_class(*args, **kwds)
File "/usr/local/Cellar/pypy/2.2.1/libexec/lib-python/2.7/httplib.py", line 346, in __init__
self.fp = sock.makefile('rb', 0)
File "*snip*/pypy-2.2.1/site-packages/gevent/ssl.py", line 364, in makefile
return _fileobject(self, mode, bufsize, close=True)
File "/usr/local/Cellar/pypy/2.2.1/libexec/lib-python/2.7/socket.py", line 300, in __init__
sock._reuse()
AttributeError: 'SSLSocket' object has no attribute '_reuse'
Exception KeyError: KeyError(4372283104L,) in threading._shutdown() ignored
The workaround is taken directly from PyPy and applied to gevent. (Not optimal; this is a PyPy bug.)
gevent 1.0 on PyPy 2.2+ throws an exception when an SSL socket is created. Here's a partial stack trace (removing private paths, etc.)
The workaround is taken directly from PyPy and applied to gevent. (Not optimal; this is a PyPy bug.)
pubnub/gevent@bdee26c
The text was updated successfully, but these errors were encountered: