Message76213
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 run
self._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
Patch is attached. |
|
Date |
User |
Action |
Args |
2008-11-21 22:42:48 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc |
2008-11-21 22:42:48 | amaury.forgeotdarc | set | messageid: <1227307368.24.0.863282757951.issue4383@psf.upfronthosting.co.za> |
2008-11-21 22:42:47 | amaury.forgeotdarc | link | issue4383 messages |
2008-11-21 22:42:46 | amaury.forgeotdarc | create | |
|