Kaydet (Commit) bf3f69ee authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Remove startup firewall message. That is handled by an error dialog

whenever a connection cannot be formed.  Also, the Idle version number
is already in the About Idle dialog.  Now, the startup is clean looking
once again.
üst c028abf3
...@@ -973,15 +973,6 @@ class PyShell(OutputWindow): ...@@ -973,15 +973,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.resetoutput() self.resetoutput()
if use_subprocess: if use_subprocess:
...@@ -992,9 +983,8 @@ class PyShell(OutputWindow): ...@@ -992,9 +983,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?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment