summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-08-30 15:50:34 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-08-30 15:50:34 (GMT)
commitf71b5fec4390bd7b40c7eb7aaefc79125249c5ec (patch)
tree26bf211c5a698e8fc7a00fac4c5b6c55e557485c
parent4042c69b5e718d48e31e38e702cf959ee08c2b2b (diff)
downloadcpython-f71b5fec4390bd7b40c7eb7aaefc79125249c5ec.zip
cpython-f71b5fec4390bd7b40c7eb7aaefc79125249c5ec.tar.gz
cpython-f71b5fec4390bd7b40c7eb7aaefc79125249c5ec.tar.bz2
spurious pop
-rw-r--r--Lib/compiler/pycodegen.py1
-rw-r--r--Tools/compiler/compiler/pycodegen.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/Lib/compiler/pycodegen.py b/Lib/compiler/pycodegen.py
index e55ee90..7a089f0 100644
--- a/Lib/compiler/pycodegen.py
+++ b/Lib/compiler/pycodegen.py
@@ -596,7 +596,6 @@ class CodeGenerator:
if expr: # XXX
self.emit('POP_TOP')
self.emit('END_FINALLY')
- self.setups.pop()
if node.else_:
self.nextBlock(lElse)
self.visit(node.else_)
diff --git a/Tools/compiler/compiler/pycodegen.py b/Tools/compiler/compiler/pycodegen.py
index e55ee90..7a089f0 100644
--- a/Tools/compiler/compiler/pycodegen.py
+++ b/Tools/compiler/compiler/pycodegen.py
@@ -596,7 +596,6 @@ class CodeGenerator:
if expr: # XXX
self.emit('POP_TOP')
self.emit('END_FINALLY')
- self.setups.pop()
if node.else_:
self.nextBlock(lElse)
self.visit(node.else_)