You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/mitogen
David Wilson 6d18ce81d8 issue #249: restore duplex behaviour for epoll
With epoll() there is only one kernel-side object per file descriptor,
which is why _control() is such a pain. Since we merge receive/transmit
watching into that single object, we must always test the mask for both
conditions when reading results.

Kqueue isn't/doesn't appear to be like this. The identity of a Kqueue
event is keyed on (fd, filter), and we register a separate event for
both transmit and receive, so the 'elif' in KqueuePoller.poll() does not
appear to need to change.

Previously, a FD marked for read+write would not indicate writeability
until it was no longer readable.
8 years ago
..
compat Import v2.7.11 tokenize.py for use on older Pythons; closes #189. 8 years ago
__init__.py Move canonical library version to __init__.py. 8 years ago
core.py issue #249: fix ordering bug masked by previous implementation 8 years ago
debug.py debug: implement some basic helpers to debugger. 8 years ago
docker.py issue #186: initial version of subtree detachment. 8 years ago
fakessh.py issue #132: initial unidirectional routing mode. 8 years ago
fork.py issue #132: initial unidirectional routing mode. 8 years ago
jail.py issue #186: initial version of subtree detachment. 8 years ago
lxc.py issue #186: initial version of subtree detachment. 8 years ago
master.py issue #249: initial poller implementation (BSD only) 8 years ago
parent.py issue #249: restore duplex behaviour for epoll 8 years ago
service.py service: don't sleep on empty Select during shutdown. 8 years ago
setns.py issue #186: initial version of subtree detachment. 8 years ago
ssh.py issue #186: initial version of subtree detachment. 8 years ago
su.py issue #186: initial version of subtree detachment. 8 years ago
sudo.py issue #186: initial version of subtree detachment. 8 years ago
unix.py issue #132: initial unidirectional routing mode. 8 years ago
utils.py issue #218: core: add Secret and Blob types. 8 years ago