Commit 49a6b0ef authored by Benjamin Peterson's avatar Benjamin Peterson

take into account the fact that SETUP_WITH pushes a finally block

parent 1880d8b8
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment