mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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.
This commit is contained in:
parent
d6ab77d27d
commit
7663729ec7
1 changed files with 2 additions and 2 deletions
|
@ -926,7 +926,7 @@ class PyShell(OutputWindow):
|
||||||
client = self.interp.start_subprocess()
|
client = self.interp.start_subprocess()
|
||||||
if not client:
|
if not client:
|
||||||
self.close()
|
self.close()
|
||||||
return None
|
return False
|
||||||
else:
|
else:
|
||||||
nosub = "==== No Subprocess ===="
|
nosub = "==== No Subprocess ===="
|
||||||
self.write("Python %s on %s\n%s\n%s\nIDLE %s %s\n" %
|
self.write("Python %s on %s\n%s\n%s\nIDLE %s %s\n" %
|
||||||
|
@ -935,7 +935,7 @@ class PyShell(OutputWindow):
|
||||||
self.showprompt()
|
self.showprompt()
|
||||||
import Tkinter
|
import Tkinter
|
||||||
Tkinter._default_root = None # 03Jan04 KBK What's this?
|
Tkinter._default_root = None # 03Jan04 KBK What's this?
|
||||||
return client
|
return True
|
||||||
|
|
||||||
def readline(self):
|
def readline(self):
|
||||||
save = self.reading
|
save = self.reading
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue