You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2008-11-21.23:08:23.628>created_at=<Date2008-11-21.22:42:47.220>labels= ['expert-IDLE', 'release-blocker']
title='UnboundLocalError when IDLE cannot connect to its subprocess'updated_at=<Date2008-11-21.23:08:23.627>user='https://github.com/amauryfa'
When IDLE cannot connect to its subprocess, it tries to display the
socket.error. But since python 3.0 the exception variable is cleared
after the "except:" block and unavailable for the displaying code.
Exception in thread SockThread:
Traceback (most recent call last):
File "c:\dev\python\py3k\lib\threading.py", line 507, in
_bootstrap_inner
self.run()
File "c:\dev\python\py3k\lib\threading.py", line 462, in runself._target(*self._args, **self._kwargs)
File "c:\dev\python\py3k\lib\idlelib\run.py", line 125, in
manage_socket
show_socket_error(err, address)
UnboundLocalError: local variable 'err' referenced before assignment
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: