This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_telnet exception
Type: behavior Stage: needs patch
Components: Tests Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: jackdied, pitrou
Priority: normal Keywords:

Created on 2010-11-24 15:30 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg122281 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-11-24 15:30
This has just occurred on the Solaris buildbot:

test_telnetlib
Exception in thread Thread-452:
Traceback (most recent call last):
  File "/home2/buildbot/slave/2.7.loewis-sun/build/Lib/threading.py", line 530, in __bootstrap_inner
    self.run()
  File "/home2/buildbot/slave/2.7.loewis-sun/build/Lib/threading.py", line 483, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home2/buildbot/slave/2.7.loewis-sun/build/Lib/test/test_telnetlib.py", line 41, in server
    conn.close()
UnboundLocalError: local variable 'conn' referenced before assignment
msg155638 - (view) Author: Jack Diederich (jackdied) * (Python committer) Date: 2012-03-13 17:51
Either someone changed the test or I can't understand how the try/except/else could happen where 'conn' is undefined in the else.  Either way, I'm marking it closed.
History
Date User Action Args
2022-04-11 14:57:09adminsetgithub: 54731
2012-03-13 17:51:56jackdiedsetstatus: open -> closed
resolution: out of date
messages: + msg155638
2010-11-24 15:30:58pitroucreate