summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/ast.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-08-29 22:30:09 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-08-29 22:30:09 (GMT)
commite4685ec57e74ec37f234907df45159bcd1899a25 (patch)
tree389d0a03ecaddcb9132404911c3752f54d7a6645 /Lib/compiler/ast.py
parent9263848fa154ad2ba5288bf5adeda22d7c90f8a2 (diff)
downloadcpython-e4685ec57e74ec37f234907df45159bcd1899a25.zip
cpython-e4685ec57e74ec37f234907df45159bcd1899a25.tar.gz
cpython-e4685ec57e74ec37f234907df45159bcd1899a25.tar.bz2
Track the block stack more reasonably in order to handle continue in
try/except or try/finally. Previous versions had only track SETUP_LOOP blocks and ignored the exception part. This meant that it allowed continue inside a try/except but generated buggy code. Now it does the right thing.
Diffstat (limited to 'Lib/compiler/ast.py')
0 files changed, 0 insertions, 0 deletions