mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	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
This commit is contained in:
		
							parent
							
								
									7fbc3046df
								
							
						
					
					
						commit
						220fecf0f4
					
				
					 3 changed files with 26 additions and 2 deletions
				
			
		|  | @ -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? | 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 | - Calltip error when docstring was None  Python Bug 775541 | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| What's New in IDLE 1.0 release candidate 1? | What's New in IDLE 1.0 release candidate 1? | ||||||
| =================================== | =================================== | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -864,15 +864,24 @@ def short_title(self): | ||||||
|     COPYRIGHT = \ |     COPYRIGHT = \ | ||||||
|           'Type "copyright", "credits" or "license()" for more information.' |           '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): |     def begin(self): | ||||||
|         self.resetoutput() |         self.resetoutput() | ||||||
|         if use_subprocess: |         if use_subprocess: | ||||||
|             nosub = '' |             nosub = '' | ||||||
|         else: |         else: | ||||||
|             nosub = "==== No Subprocess ====" |             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, |                    (sys.version, sys.platform, self.COPYRIGHT, | ||||||
|                     idlever.IDLE_VERSION, nosub)) |                     self.firewallmessage, idlever.IDLE_VERSION, nosub)) | ||||||
|         self.showprompt() |         self.showprompt() | ||||||
|         import Tkinter |         import Tkinter | ||||||
|         Tkinter._default_root = None |         Tkinter._default_root = None | ||||||
|  |  | ||||||
|  | @ -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 | magic "reload/import *" incantations are no longer required when editing and | ||||||
| testing a module two or three steps down the import chain. | 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. | It is possible to interrupt tightly looping user code, even on Windows. | ||||||
| 
 | 
 | ||||||
| Applications which cannot support subprocesses and/or sockets can still run | Applications which cannot support subprocesses and/or sockets can still run | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kurt B. Kaiser
						Kurt B. Kaiser