summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/ScriptBinding.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2003-05-24 20:59:15 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2003-05-24 20:59:15 (GMT)
commit67fd0ea46d187ccab90ed574207bc88503bde3ea (patch)
tree9737263bae54a7fbf3e6bb2a77aadbe2793533c3 /Lib/idlelib/ScriptBinding.py
parentebc198faa991ae836547ec1dccea8133b185bd65 (diff)
downloadcpython-67fd0ea46d187ccab90ed574207bc88503bde3ea.zip
cpython-67fd0ea46d187ccab90ed574207bc88503bde3ea.tar.gz
cpython-67fd0ea46d187ccab90ed574207bc88503bde3ea.tar.bz2
1. Stake Freddy.
e.g. further improve subprocess interrupt, exceptions, and termination. 2. Remove the workarounds in PyShell.py and ScriptBinding.py involving interrupting the subprocess prior to killing it, not necessary anymore. 3. Fix a bug introduced at PyShell Rev 1.66: was getting extra shell menu every time the shell window was recreated. M PyShell.py M ScriptBinding.py M rpc.py M run.py
Diffstat (limited to 'Lib/idlelib/ScriptBinding.py')
-rw-r--r--Lib/idlelib/ScriptBinding.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py
index 252526d..b6d9da3 100644
--- a/Lib/idlelib/ScriptBinding.py
+++ b/Lib/idlelib/ScriptBinding.py
@@ -125,17 +125,6 @@ class ScriptBinding:
interp = shell.interp
if PyShell.use_subprocess:
shell.restart_shell()
- if shell.executing:
- delay = 2700
- else:
- delay = 500
- # Wait for the interrupt and reset to finish
- shell.text.after(delay, self.run_module_event2, interp,
- filename, code)
- else:
- self.run_module_event2(interp, filename, code)
-
- def run_module_event2(self, interp, filename, code):
# XXX Too often this discards arguments the user just set...
interp.runcommand("""if 1:
_filename = %s