Forward port r68985: Idle startup message.

This commit is contained in:
Raymond Hettinger 2009-01-27 00:28:36 +00:00
parent 39df610571
commit a2a8e8be8e
1 changed files with 2 additions and 12 deletions

View File

@ -963,15 +963,6 @@ class PyShell(OutputWindow):
COPYRIGHT = \
'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):
self.text.mark_set("iomark", "insert")
self.resetoutput()
@ -983,9 +974,8 @@ class PyShell(OutputWindow):
return False
else:
nosub = "==== No Subprocess ===="
self.write("Python %s on %s\n%s\n%s\nIDLE %s %s\n" %
(sys.version, sys.platform, self.COPYRIGHT,
self.firewallmessage, idlever.IDLE_VERSION, nosub))
self.write("Python %s on %s\n%s\n%s" %
(sys.version, sys.platform, self.COPYRIGHT, nosub))
self.showprompt()
import tkinter
tkinter._default_root = None # 03Jan04 KBK What's this?