Open parasyte opened 10 years ago
It just occurred that the same patch is needed on gevent's plain socket implementation.
https://github.com/pubnub/gevent/commit/e959acf2834e18bc3b41e0dcda583a428972f092
This branch can be used with PyPy 2.2+ and pypycore by following the pypycore README. Just replace the schmir/pypy-hacks branch with pubnub/pypy-hacks
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.)
https://github.com/pubnub/gevent/commit/bdee26cf71fb28644e7837942db09d3b0981af5c