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

2012-06-07 Thread Akintayo Holder

Akintayo Holder akint...@google.com added the comment:

Is my approach ok or is the plan to follow  neologix's suggestion and make one 
fix that works for all the select.select issues.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14635
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-05-31 Thread Akintayo Holder

Akintayo Holder akint...@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 rep...@bugs.python.org
http://bugs.python.org/issue14635
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com