summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/ScriptBinding.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-08-25 14:08:07 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-08-25 14:08:07 (GMT)
commitadc63847e408ac85b82cdb5e3c4a6cf9ce9933aa (patch)
tree994660a54f59e685ffb7d3febac88bd33978d688 /Lib/idlelib/ScriptBinding.py
parenta552e3a0c9aaa5f7540262159515c6798e5d8d7e (diff)
downloadcpython-adc63847e408ac85b82cdb5e3c4a6cf9ce9933aa.zip
cpython-adc63847e408ac85b82cdb5e3c4a6cf9ce9933aa.tar.gz
cpython-adc63847e408ac85b82cdb5e3c4a6cf9ce9933aa.tar.bz2
1. Revert subprocess environment clearing, will restart subprocess
instead. 2. Preserve the Idle client's listening socket for reuse with the fresh subprocess. 3. Remove some unused rpc code, comment out additional unused code. Modified Files: ScriptBinding.py rpc.py run.py
Diffstat (limited to 'Lib/idlelib/ScriptBinding.py')
-rw-r--r--Lib/idlelib/ScriptBinding.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py
index 6d4c652..8ab0cf6 100644
--- a/Lib/idlelib/ScriptBinding.py
+++ b/Lib/idlelib/ScriptBinding.py
@@ -147,8 +147,6 @@ class ScriptBinding:
flist = self.editwin.flist
shell = flist.open_shell()
interp = shell.interp
- # clear the subprocess environment before every Run/F5 invocation
- interp.rpcclt.remotecall("exec", "clear_the_environment", (), {})
# XXX Too often this discards arguments the user just set...
interp.runcommand("""if 1:
_filename = %s