Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 220fecf

Browse files
committed
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
1 parent 7fbc304 commit 220fecf

3 files changed

Lines changed: 26 additions & 2 deletions

File tree

Lib/idlelib/NEWS.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1+
What's New in IDLE 1.0?
2+
===================================
3+
4+
*Release date: 29-Jul-2003*
5+
6+
- Added a banner to the shell discussimg warnings possibly raised by personal
7+
firewall software. Added same comment to README.txt.
8+
9+
110
What's New in IDLE 1.0 release candidate 2?
211
===================================
312

413
*Release date: 24-Jul-2003*
514

615
- Calltip error when docstring was None Python Bug 775541
716

17+
818
What's New in IDLE 1.0 release candidate 1?
919
===================================
1020

Lib/idlelib/PyShell.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -864,15 +864,24 @@ def short_title(self):
864864
COPYRIGHT = \
865865
'Type "copyright", "credits" or "license()" for more information.'
866866

867+
firewallmessage = """
868+
****************************************************************
869+
Personal firewall software may warn about the connection IDLE
870+
makes to its subprocess using this computer's internal loopback
871+
interface. This connection is not visible on any external
872+
interface and no data is sent to or received from the Internet.
873+
****************************************************************
874+
"""
875+
867876
def begin(self):
868877
self.resetoutput()
869878
if use_subprocess:
870879
nosub = ''
871880
else:
872881
nosub = "==== No Subprocess ===="
873-
self.write("Python %s on %s\n%s\nIDLE %s %s\n" %
882+
self.write("Python %s on %s\n%s\n%s\nIDLE %s %s\n" %
874883
(sys.version, sys.platform, self.COPYRIGHT,
875-
idlever.IDLE_VERSION, nosub))
884+
self.firewallmessage, idlever.IDLE_VERSION, nosub))
876885
self.showprompt()
877886
import Tkinter
878887
Tkinter._default_root = None

Lib/idlelib/README.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ This enhancement has often been requested, and is now finally available. The
2121
magic "reload/import *" incantations are no longer required when editing and
2222
testing a module two or three steps down the import chain.
2323

24+
(Personal firewall software may warn about the connection IDLE makes to its
25+
subprocess using this computer's internal loopback interface. This connection
26+
is not visible on any external interface and no data is sent to or received
27+
from the Internet.)
28+
2429
It is possible to interrupt tightly looping user code, even on Windows.
2530

2631
Applications which cannot support subprocesses and/or sockets can still run

0 commit comments

Comments
 (0)