Re: [pypy-dev] AttributeError: 'socket' object has no attribute '_reuse'

2013-12-19 Thread Robert Voigtländer
Thanks for the feedback. I would like to file an issue for this. Which would be the correct repository for this? https://github.com/schmir/gevent/tree/pypy-hacks or https://github.com/gevent-on-pypy/pypycore ? Robert On 19 December 2013 17:06, Antonio Cuni wrote: > On 19/12/13 17:01, Alex Gayn

Re: [pypy-dev] AttributeError: 'socket' object has no attribute '_reuse'

2013-12-19 Thread Antonio Cuni
On 19/12/13 17:01, Alex Gaynor wrote: No, this isn't a bug in PyPy. If gevent wants to use the internal details of the socket module in way's that aren't defined, they need to pass somethign which matches the required interface. it's worth noting that eventlet had the same issue, and it was fix

Re: [pypy-dev] AttributeError: 'socket' object has no attribute '_reuse'

2013-12-19 Thread Piotr Skamruk
Thanx for correction ;) ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] AttributeError: 'socket' object has no attribute '_reuse'

2013-12-19 Thread Alex Gaynor
No, this isn't a bug in PyPy. If gevent wants to use the internal details of the socket module in way's that aren't defined, they need to pass somethign which matches the required interface. Alex On Thu, Dec 19, 2013 at 7:59 AM, Piotr Skamruk wrote: > It's because lib-python/2.7/socket.py has r

Re: [pypy-dev] AttributeError: 'socket' object has no attribute '_reuse'

2013-12-19 Thread Piotr Skamruk
It's because lib-python/2.7/socket.py has reference to _reuse (around 185 line - look at Antonios comment in https://mail.python.org/pipermail/pypy-commit/2013-August/076563.html ), but this method isn't defined in rpython/rlib/rsocket.py You should fill issue in https://bugs.pypy.org Probably it

[pypy-dev] AttributeError: 'socket' object has no attribute '_reuse'

2013-12-19 Thread Robert Voigtländer
Thanks to Piotr I now got gevent installed. But now I get a new error when trying to run my python program. The Webserver (with SSE) runs but when I try to load a site I get the error below. I need to get it running .. pypy is so awesomely faster than cpython. Robert Traceback (most recent cal

Re: [pypy-dev] gevent

2013-12-19 Thread Piotr Skamruk
Try: easy_install cffi git clone git://github.com/schmir/gevent && cd gevent && git checkout pypy-hacks && pypy setup.py install git clone git://github.com/gevent-on-pypy/pypycore && cd pypycore && pypy setup.py install After that - You have to remember to export GEVENT_LOOP=pypycore.loop bef