From 220fecf0f45b7ad6dde43a60e33f755793d8318d Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Sun, 27 Jul 2003 03:24:19 +0000 Subject: 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 --- Lib/idlelib/NEWS.txt | 10 ++++++++++ Lib/idlelib/PyShell.py | 13 +++++++++++-- Lib/idlelib/README.txt | 5 +++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 27ef39f..d27eb99 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,3 +1,12 @@ +What's New in IDLE 1.0? +=================================== + +*Release date: 29-Jul-2003* + +- Added a banner to the shell discussimg warnings possibly raised by personal + firewall software. Added same comment to README.txt. + + What's New in IDLE 1.0 release candidate 2? =================================== @@ -5,6 +14,7 @@ What's New in IDLE 1.0 release candidate 2? - Calltip error when docstring was None Python Bug 775541 + What's New in IDLE 1.0 release candidate 1? =================================== 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 diff --git a/Lib/idlelib/README.txt b/Lib/idlelib/README.txt index df0b7b8..101f7eb 100644 --- a/Lib/idlelib/README.txt +++ b/Lib/idlelib/README.txt @@ -21,6 +21,11 @@ This enhancement has often been requested, and is now finally available. The magic "reload/import *" incantations are no longer required when editing and testing a module two or three steps down the import chain. +(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.) + It is possible to interrupt tightly looping user code, even on Windows. Applications which cannot support subprocesses and/or sockets can still run -- cgit v0.12