mirror of https://github.com/python/cpython.git
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.
This commit is contained in:
parent
c028abf3cd
commit
bf3f69ee85
|
@ -973,15 +973,6 @@ def short_title(self):
|
||||||
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 @@ def begin(self):
|
||||||
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