Forward port r68985: Idle startup message.
This commit is contained in:
parent
39df610571
commit
a2a8e8be8e
|
@ -963,15 +963,6 @@ class PyShell(OutputWindow):
|
||||||
COPYRIGHT = \
|
COPYRIGHT = \
|
||||||
'Type "copyright", "credits" or "license()" for more information.'
|
'Type "copyright", "credits" or "license()" for more information.'
|
||||||
|
|
||||||
firewallmessage = """
|
|
||||||
****************************************************************
|
|
||||||
Personal firewall software may warn about the connection IDLE
|
|
||||||
makes to its subprocess using this computer's internal loopback
|
|
||||||
interface. This connection is not visible on any external
|
|
||||||
interface and no data is sent to or received from the Internet.
|
|
||||||
****************************************************************
|
|
||||||
"""
|
|
||||||
|
|
||||||
def begin(self):
|
def begin(self):
|
||||||
self.text.mark_set("iomark", "insert")
|
self.text.mark_set("iomark", "insert")
|
||||||
self.resetoutput()
|
self.resetoutput()
|
||||||
|
@ -983,9 +974,8 @@ class PyShell(OutputWindow):
|
||||||
return False
|
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" %
|
||||||
(sys.version, sys.platform, self.COPYRIGHT,
|
(sys.version, sys.platform, self.COPYRIGHT, nosub))
|
||||||
self.firewallmessage, idlever.IDLE_VERSION, nosub))
|
|
||||||
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?
|
||||||
|
|
Loading…
Reference in New Issue