Mercurial > cpython-lru_cache-weakref
diff Lib/idlelib/PyShell.py @ 30001:52dd548d3be9 legacy-trunk
Added a banner to the shell startup message discussing possible
warnings from personal firewall software. Added the same text
to README.txt, updated NEWS.txt for release.
M NEWS.txt
M PyShell.py
M README.txt
| author | Kurt B. Kaiser <kbk@shore.net> |
|---|---|
| date | Sun, 27 Jul 2003 03:24:19 +0000 |
| parents | 94e5d1b8f696 |
| children | f4b4bf7e87d7 05673b16bdb8 |
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py Sun Jul 27 00:56:41 2003 +0000 +++ b/Lib/idlelib/PyShell.py Sun Jul 27 03:24:19 2003 +0000 @@ -864,15 +864,24 @@ 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: nosub = '' else: nosub = "==== No Subprocess ====" - self.write("Python %s on %s\n%s\nIDLE %s %s\n" % + self.write("Python %s on %s\n%s\n%s\nIDLE %s %s\n" % (sys.version, sys.platform, self.COPYRIGHT, - idlever.IDLE_VERSION, nosub)) + self.firewallmessage, idlever.IDLE_VERSION, nosub)) self.showprompt() import Tkinter Tkinter._default_root = None
