mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Patch #1698951: clarify deprecation message in rexec and Bastion
This commit is contained in:
		
							parent
							
								
									4db5fe970c
								
							
						
					
					
						commit
						e2d827d7ef
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -97,7 +97,7 @@ def Bastion(object, filter = lambda name: name[:1] != '_', | ||||||
| 
 | 
 | ||||||
|     """ |     """ | ||||||
| 
 | 
 | ||||||
|     raise RuntimeError, "This code is not secure in Python 2.2 and 2.3" |     raise RuntimeError, "This code is not secure in Python 2.2 and later" | ||||||
| 
 | 
 | ||||||
|     # Note: we define *two* ad-hoc functions here, get1 and get2. |     # Note: we define *two* ad-hoc functions here, get1 and get2. | ||||||
|     # Both are intended to be called in the same way: get(name). |     # Both are intended to be called in the same way: get(name). | ||||||
|  |  | ||||||
|  | @ -181,7 +181,7 @@ def __init__(self, hooks = None, verbose = 0): | ||||||
| 
 | 
 | ||||||
|         """ |         """ | ||||||
| 
 | 
 | ||||||
|         raise RuntimeError, "This code is not secure in Python 2.2 and 2.3" |         raise RuntimeError, "This code is not secure in Python 2.2 and later" | ||||||
| 
 | 
 | ||||||
|         ihooks._Verbose.__init__(self, verbose) |         ihooks._Verbose.__init__(self, verbose) | ||||||
|         # XXX There's a circular reference here: |         # XXX There's a circular reference here: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl