diff Python/compile.c @ 54333:0d7461c063e7 legacy-trunk

take into account the fact that SETUP_WITH pushes a finally block
author Benjamin Peterson <benjamin@python.org>
date Mon, 25 May 2009 20:12:57 +0000
parents 145376df3ad7
children 1d8f24bf4399
line wrap: on
line diff
--- a/Python/compile.c	Mon May 25 13:13:44 2009 +0000
+++ b/Python/compile.c	Mon May 25 20:12:57 2009 +0000
@@ -779,7 +779,7 @@
 		case BREAK_LOOP:
 			return 0;
 	        case SETUP_WITH:
-			return 1;
+			return 4;
 		case WITH_CLEANUP:
 			return -1; /* XXX Sometimes more */
 		case LOAD_LOCALS: