Index: Bindings.py =================================================================== --- Bindings.py (revision 50822) +++ Bindings.py (working copy) @@ -74,6 +74,7 @@ ]), ('help', [ ('_About IDLE', '<>'), + ('_Firewall Warnings', '<>'), None, ('_IDLE Help', '<>'), ('Python _Docs', '<>'), Index: EditorWindow.py =================================================================== --- EditorWindow.py (revision 50822) +++ EditorWindow.py (working copy) @@ -136,6 +136,7 @@ text.bind("<>", self.help_dialog) text.bind("<>", self.python_docs) text.bind("<>", self.about_dialog) + text.bind("<>", self.about_firewalls_dialog) text.bind("<>", self.config_dialog) text.bind("<>", self.open_module) text.bind("<>", lambda event: "break") @@ -387,6 +388,18 @@ def about_dialog(self, event=None): aboutDialog.AboutDialog(self.top,'About IDLE') + def about_firewalls_dialog(self, event=None): + firewall_message = ( + "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." + ) + + tkMessageBox.showinfo('Firewall Warnings', + firewall_message, + parent=self.text) + def config_dialog(self, event=None): configDialog.ConfigDialog(self.top,'Settings') Index: PyShell.py =================================================================== --- PyShell.py (revision 50822) +++ PyShell.py (working copy) @@ -958,15 +958,6 @@ 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.resetoutput() if use_subprocess: @@ -977,9 +968,9 @@ return False else: 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\nIDLE %s %s\n" % (sys.version, sys.platform, self.COPYRIGHT, - self.firewallmessage, idlever.IDLE_VERSION, nosub)) + idlever.IDLE_VERSION, nosub)) self.showprompt() import Tkinter Tkinter._default_root = None # 03Jan04 KBK What's this?