summaryrefslogtreecommitdiff
path: root/Lib/idlelib/run.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-05-12 11:21:27 +0200
committerGeorg Brandl <georg@python.org>2013-05-12 11:21:27 +0200
commit39db757a2b27bf5df23d5e32815bc73e544cd853 (patch)
treeb66a7fc32f328a083ac87f52c5d1f8208b5dbd84 /Lib/idlelib/run.py
parente88bd351d9d127ea92dfaebb86139d7519c663f9 (diff)
parente284ad8d08ec2aef25fd2831673c5e2da8cbc07a (diff)
downloadcpython-39db757a2b27bf5df23d5e32815bc73e544cd853.tar.gz
Issue #17838: merge with 3.3
Diffstat (limited to 'Lib/idlelib/run.py')
-rw-r--r--Lib/idlelib/run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index 88da23ba07..5283a93b80 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -137,8 +137,8 @@ def manage_socket(address):
try:
server = MyRPCServer(address, MyHandler)
break
- except socket.error as err:
- print("IDLE Subprocess: socket error: " + err.args[1] +
+ except OSError as err:
+ print("IDLE Subprocess: OSError: " + err.args[1] +
", retrying....", file=sys.__stderr__)
socket_error = err
else: