/usr/lib/python2.7/dist-packages/zmq/green/eventloop/ioloop.py is in python-zmq 16.0.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from zmq.eventloop.ioloop import *
from zmq.green import Poller
RealIOLoop = IOLoop
RealZMQPoller = ZMQPoller
class ZMQPoller(RealZMQPoller):
"""gevent-compatible version of ioloop.ZMQPoller"""
def __init__(self):
self._poller = Poller()
class IOLoop(RealIOLoop):
"""gevent-and-zmq-aware tornado IOLoop implementation"""
_zmq_impl = ZMQPoller
|