[issue18035] telnetlib incorrectly assumes that select.error has an errno attribute

Gregory P. Smith report at bugs.python.org
Wed May 22 19:40:49 CEST 2013


Gregory P. Smith added the comment:

As this is only on the select.poll code path, a workaround for code that isn't going to hit select.select file descriptor limits is to set their telnetlib.Telnet instance _has_poll attribute to False before using it.

my_telnet = telnetlib.Telnet(...)
my_telnet._has_poll = False

----------

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


More information about the Python-bugs-list mailing list