take into account the fact that SETUP_WITH pushes a finally block
This commit is contained in:
parent
1880d8b823
commit
49a6b0ef70
|
@ -779,7 +779,7 @@ opcode_stack_effect(int opcode, int oparg)
|
|||
case BREAK_LOOP:
|
||||
return 0;
|
||||
case SETUP_WITH:
|
||||
return 1;
|
||||
return 4;
|
||||
case WITH_CLEANUP:
|
||||
return -1; /* XXX Sometimes more */
|
||||
case LOAD_LOCALS:
|
||||
|
|
Loading…
Reference in New Issue