mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Rip out 'long' and 'L'-suffixed integer literals.
(Rough first cut.)
This commit is contained in:
		
							parent
							
								
									fc7bb8c786
								
							
						
					
					
						commit
						e2a383d062
					
				
					 146 changed files with 1446 additions and 1477 deletions
				
			
		|  | @ -331,12 +331,12 @@ def send_error(self, code, message=None): | |||
|         """ | ||||
| 
 | ||||
|         try: | ||||
|             short, long = self.responses[code] | ||||
|             shortmsg, longmsg = self.responses[code] | ||||
|         except KeyError: | ||||
|             short, long = '???', '???' | ||||
|             shortmsg, longmsg = '???', '???' | ||||
|         if message is None: | ||||
|             message = short | ||||
|         explain = long | ||||
|             message = shortmsg | ||||
|         explain = longmsg | ||||
|         self.log_error("code %d, message %s", code, message) | ||||
|         # using _quote_html to prevent Cross Site Scripting attacks (see bug #1100201) | ||||
|         content = (self.error_message_format % | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum