mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Some compilers (ex: Visual Studio) decode -2147483648 as a unsigned integer instead of an signed integer.
This commit is contained in:
		
							parent
							
								
									b679a2eb78
								
							
						
					
					
						commit
						85fe8a645e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1183,7 +1183,7 @@ compiler_addop_i(struct compiler *c, Py_ssize_t opcode, Py_ssize_t oparg) | |||
| 
 | ||||
|     /* Integer arguments are limit to 16-bit. There is an extension for 32-bit
 | ||||
|        integer arguments. */ | ||||
|     assert(-2147483648 <= opcode); | ||||
|     assert((-2147483647-1) <= opcode); | ||||
|     assert(opcode <= 2147483647); | ||||
| 
 | ||||
|     off = compiler_next_instr(c, c->u->u_curblock); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner