[issue14635] telnetlib uses select instead of poll - limited to FD_SETSIZE fds

Akintayo Holder report at bugs.python.org
Thu May 31 23:06:26 CEST 2012


Akintayo Holder <akintayo at google.com> added the comment:

Hi,

telnet.read_until() and telnet.expect() will use select.poll() instead of select.select() on systems where poll() is available.

The patch also includes updates to test_telnetlib, the read_until() tests were changed to test the case where poll() is unavailable. We also added unit tests for expect(), these are a copy of the read_until() tests.

This patch is against 2.7.

Akintayo

----------
nosy: +akintayo
Added file: http://bugs.python.org/file25777/telnet_expect_read_until_using_poll

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14635>
_______________________________________


More information about the Python-bugs-list mailing list