[issue17200] telnetlib.read_until() timeout uses the wrong units

2013-02-14 Thread Reuben D'Netto
Reuben D'Netto added the comment: OK, I've implemented tests for read_until() and expect() using both poll and select. I ended up rewriting _read_until_with_select() to look more like the poll equivalent in the process, which should hopefully make it more maintainable. -- Added file

[issue17200] telnetlib.read_until() timeout uses the wrong units

2013-02-13 Thread Reuben D'Netto
Reuben D'Netto added the comment: Sure, no problem. I'll upload the completed patch once I've got it working. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17200

[issue17200] telnetlib.read_until() timeout uses the wrong units

2013-02-12 Thread Reuben D'Netto
New submission from Reuben D'Netto: read_until() takes a value for timeout in seconds, but passes it to poll(), which takes a value in milliseconds. -- files: telnetlib.py.patch keywords: patch messages: 181993 nosy: Reuben.D'Netto priority: normal severity: normal status: open title

[issue17200] telnetlib.read_until() timeout uses the wrong units

2013-02-12 Thread Reuben D'Netto
Reuben D'Netto added the comment: Updated patch to fix expect() as well. -- Added file: http://bugs.python.org/file29056/telnetlib.py.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17200