changeset: 87279:ee4da7291211 user: Victor Stinner date: Tue Nov 19 23:03:25 2013 +0100 files: Python/compile.c description: Issue #9566, #19617: New try to fix compilation on Windows Some compilers (ex: Visual Studio) decode -2147483648 as a unsigned integer instead of an signed integer. diff -r 8d3e85dfa46f -r ee4da7291211 Python/compile.c --- a/Python/compile.c Tue Nov 19 22:28:01 2013 +0100 +++ b/Python/compile.c Tue Nov 19 23:03:25 2013 +0100 @@ -1183,7 +1183,7 @@ /* 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);