diff options
author | Christian Heimes <christian@cheimes.de> | 2008-03-21 23:49:44 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-03-21 23:49:44 (GMT) |
commit | 0e9ab5f2f0f907b57c70557e21633ce8c341d1d1 (patch) | |
tree | cff563d889c8bca44a7214739706e3674d402d26 /Lib/test/test_poll.py | |
parent | 5f79446af07b8bd7821ca4aacc96895c811f2733 (diff) | |
download | cpython-0e9ab5f2f0f907b57c70557e21633ce8c341d1d1.zip cpython-0e9ab5f2f0f907b57c70557e21633ce8c341d1d1.tar.gz cpython-0e9ab5f2f0f907b57c70557e21633ce8c341d1d1.tar.bz2 |
Applied patch #1657 epoll and kqueue wrappers for the select module
The patch adds wrappers for the Linux epoll syscalls and the BSD kqueue syscalls. Thanks to Thomas Herve and the Twisted people for their support and help.
TODO: Finish documentation documentation
Diffstat (limited to 'Lib/test/test_poll.py')
-rw-r--r-- | Lib/test/test_poll.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_poll.py b/Lib/test/test_poll.py index 5dbfc2c..fb6cd30 100644 --- a/Lib/test/test_poll.py +++ b/Lib/test/test_poll.py @@ -34,7 +34,8 @@ class PollTests(unittest.TestCase): for i in range(NUM_PIPES): rd, wr = os.pipe() - p.register(rd, select.POLLIN) + p.register(rd) + p.modify(rd, select.POLLIN) p.register(wr, select.POLLOUT) readers.append(rd) writers.append(wr) |