Index: Python/compile.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Python/compile.c,v retrieving revision 2.360 diff -w -u -r2.360 compile.c --- Python/compile.c 23 Oct 2005 18:52:36 -0000 2.360 +++ Python/compile.c 23 Oct 2005 19:38:41 -0000 @@ -752,6 +752,11 @@ case LOAD_CONST: cumlc = lastlc + 1; j = GETARG(codestr, i); + if (codestr[i+3] == POP_TOP) { + memset(codestr+i, NOP, 4); + break; + } + if (codestr[i+3] != JUMP_IF_FALSE || codestr[i+6] != POP_TOP || !ISBASICBLOCK(blocks,i,7) ||