[Twisted-Python] Use epoll reactor in pypy

Аркадий Левин poisonoff at gmail.com
Fri Feb 17 10:16:51 EST 2012


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'
>>>>



More information about the Twisted-Python mailing list