diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2003-07-27 03:24:19 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2003-07-27 03:24:19 (GMT) |
commit | 220fecf0f45b7ad6dde43a60e33f755793d8318d (patch) | |
tree | f1146413a5bd5e397b53bc5d19079581d0a9c80b /Lib/idlelib/PyShell.py | |
parent | 7fbc3046df5cac4dd6cf0cbbf96707a94a305bb6 (diff) | |
download | cpython-220fecf0f45b7ad6dde43a60e33f755793d8318d.zip cpython-220fecf0f45b7ad6dde43a60e33f755793d8318d.tar.gz cpython-220fecf0f45b7ad6dde43a60e33f755793d8318d.tar.bz2 |
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
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r-- | Lib/idlelib/PyShell.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 47028bd..388c384 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -864,15 +864,24 @@ 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.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 |