summaryrefslogtreecommitdiff
path: root/Lib/idlelib/rpc.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2009-04-04 07:03:48 +0000
committerKurt B. Kaiser <kbk@shore.net>2009-04-04 07:03:48 +0000
commit013d6cc0df238013075930c5adb1c4724f38aa49 (patch)
treeed52caed48fcf161f345780c2829970d06a6728e /Lib/idlelib/rpc.py
parent195374e836b3e70128890ced7e8f3ef4911e4712 (diff)
downloadcpython-git-013d6cc0df238013075930c5adb1c4724f38aa49.tar.gz
Allow multiple IDLE GUI/subprocess pairs to exist
simultaneously. Thanks to David Scherer for suggesting the use of an ephemeral port for the GUI. Patch 1529142 Weeble.
Diffstat (limited to 'Lib/idlelib/rpc.py')
-rw-r--r--Lib/idlelib/rpc.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/idlelib/rpc.py b/Lib/idlelib/rpc.py
index 3bac6a30b3..5adf32b384 100644
--- a/Lib/idlelib/rpc.py
+++ b/Lib/idlelib/rpc.py
@@ -518,8 +518,6 @@ class RPCClient(SocketIO):
def __init__(self, address, family=socket.AF_INET, type=socket.SOCK_STREAM):
self.listening_sock = socket.socket(family, type)
- self.listening_sock.setsockopt(socket.SOL_SOCKET,
- socket.SO_REUSEADDR, 1)
self.listening_sock.bind(address)
self.listening_sock.listen(1)