[Twisted-Python] Use epoll reactor in pypy

Corbin Simpson mostawesomedude at gmail.com
Fri Feb 17 16:25:18 EST 2012


The epoll extension isn't built on PyPy and so I think
http://twistedmatrix.com/trac/ticket/3114 needs to be fixed first.

2012/2/17 Аркадий Левин <poisonoff at gmail.com>:
> Hi all, how install twisted with epoll reactor on pypy? OS Debian 6.0
>
> Ex:
>
> Python 2.7.1 (7773f8fc4223, Nov 18 2011, 18:47:11)
> [PyPy 1.7.0 with GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> And now for something completely different: ``in theory there is the Loop, in
> practice there are bridges''
>>>>> from twisted.internet import epollreactor
> Traceback (most recent call last):
>  File "<console>", line 1, in <module>
>  File "/usr/src/pypy-1.7/site-packages/Twisted-11.1.0_r33452-py2.7-linux-x86_64.egg/twisted/internet/epollreactor.py",
> line 20, in <module>
>    from twisted.python import log, _epoll
> ImportError: cannot import name '_epoll'
>>>>>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python



-- 
When the facts change, I change my mind. What do you do, sir? ~ Keynes

Corbin Simpson
<MostAwesomeDude at gmail.com>



More information about the Twisted-Python mailing list