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

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


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.

http://hg.python.org/cpython/file/85c04fdaa404/Lib/telnetlib.py#l317

i haven't check 3.x yet.

----------
messages: 189828
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title: telnetlib incorrectly assumes that select.error has an errno attribute
versions: Python 2.7

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


More information about the Python-bugs-list mailing list