summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2004-01-21 22:10:01 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2004-01-21 22:10:01 (GMT)
commit7663729ec72f5ffe44b8e7f76bdb56d8663c5e6e (patch)
tree7921e739e545cb89ff611b081fc92579b161c740 /Lib
parentd6ab77d27dae87d7ffb66db0a411a631ce85a11d (diff)
downloadcpython-7663729ec72f5ffe44b8e7f76bdb56d8663c5e6e.zip
cpython-7663729ec72f5ffe44b8e7f76bdb56d8663c5e6e.tar.gz
cpython-7663729ec72f5ffe44b8e7f76bdb56d8663c5e6e.tar.bz2
There was an error in the Tk error dialog fix at Rev 1.84 which caused starting
w/o the subprocess to fail. Check in a fix to IDLE and IDLEfork. M PyShell.py Backport candidate, combine with previous.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/PyShell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index fe940cb..0605285 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -926,7 +926,7 @@ class PyShell(OutputWindow):
client = self.interp.start_subprocess()
if not client:
self.close()
- return None
+ return False
else:
nosub = "==== No Subprocess ===="
self.write("Python %s on %s\n%s\n%s\nIDLE %s %s\n" %
@@ -935,7 +935,7 @@ class PyShell(OutputWindow):
self.showprompt()
import Tkinter
Tkinter._default_root = None # 03Jan04 KBK What's this?
- return client
+ return True
def readline(self):
save = self.reading