FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

take into account the fact that SETUP_WITH pushes a finally block · python-emscripten/cpython@49a6b0e · GitHub

Repository navigation

Commit 49a6b0e

Browse files
committed
take into account the fact that SETUP_WITH pushes a finally block
1 parent 1880d8b commit 49a6b0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Python/compile.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ opcode_stack_effect(int opcode, int oparg)
779779
case BREAK_LOOP:
780780
return 0;
781781
case SETUP_WITH:
782-
return 1;
782+
return 4;
783783
case WITH_CLEANUP:
784784
return -1; /* XXX Sometimes more */
785785
case LOAD_LOCALS:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL