[Python-checkins] r72920 - python/trunk/Python/compile.c

benjamin.peterson python-checkins at python.org
Mon May 25 22:12:57 CEST 2009


Author: benjamin.peterson
Date: Mon May 25 22:12:57 2009
New Revision: 72920
Log:
take into account the fact that SETUP_WITH pushes a finally block
Modified:
 python/trunk/Python/compile.c
Modified: python/trunk/Python/compile.c
==============================================================================
--- python/trunk/Python/compile.c	(original)
+++ python/trunk/Python/compile.c	Mon May 25 22:12:57 2009
@@ -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:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /