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

2017-12-29 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker

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

2017-12-29 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 3ceaed0dce81fd881bbaf2dbdbe827d9681887da by Gregory P. Smith (Segev Finer) in branch '2.7': bpo-18035: telnetlib: select.error doesn't have an errno attribute (#5044)

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

2017-12-29 Thread Segev Finer
Change by Segev Finer : -- keywords: +patch pull_requests: +4925 stage: -> patch review ___ Python tracker ___

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

2013-05-25 Thread Phil Connell
Changes by Phil Connell pconn...@gmail.com: -- nosy: +pconnell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18035 ___ ___ Python-bugs-list

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

2013-05-22 Thread Gregory P. Smith
New submission from Gregory P. Smith: In Python 2.7.3 through 2.7.5 the telnetlib select.poll based implementation assumes that select.error has an errno attribute when handling errors. it does not. select.error is not an EnvironmentError derived exception.

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

2013-05-22 Thread Gregory P. Smith
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(...)

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

2013-05-22 Thread Thayu R
Thayu R added the comment: Just to add: select.error was made an alias of OSError following PEP 3151 from 3.3 onwards. Up to 3.2, it was a pair containing the error code and the error string. http://docs.python.org/3.3/library/select.html?highlight=select.error#select.error -- nosy: