Forgot to explain the effect of the new opcode.
authorGuido van Rossum <guido@python.org>
Tue, 28 Feb 2006 00:40:16 +0000 (00:40 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 28 Feb 2006 00:40:16 +0000 (00:40 +0000)
Sigh -- we really should have one place for all opcode metadata.

Lib/compiler/pyassem.py

index 7b6cee651327a9ec9d46971bb172b220b08d338a..22a19c75342ea192473b21bed87d10177ca5499c 100644 (file)
@@ -778,6 +778,7 @@ class StackDepthTracker:
         'SETUP_EXCEPT': 3,
         'SETUP_FINALLY': 3,
         'FOR_ITER': 1,
+        'WITH_CLEANUP': 3,
         }
     # use pattern match
     patterns = [