]> granicus.if.org Git - python/commit
Pop loop off the loop stack before handling the loop's else clause.
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 12 Apr 2001 21:54:41 +0000 (21:54 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 12 Apr 2001 21:54:41 +0000 (21:54 +0000)
commitbb0bae6da2c322971041d7943d1096d0590a9d3f
tree7044acf8685c10b07560abbc6c3c475928ff9bac
parent13d70944cba10f6f9b39aa94cb9c5df442523dda
Pop loop off the loop stack before handling the loop's else clause.
Otherwise, continue/break will attempt to affect the wrong loop.

A few more fiddles to get the SET_LINENOs consistent across compilers.
Lib/compiler/pycodegen.py
Tools/compiler/compiler/pycodegen.py