]> granicus.if.org Git - python/commit
Fix _convert_NAME() so that it doesn't store locals for class bodies.
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 30 Aug 2001 20:25:55 +0000 (20:25 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 30 Aug 2001 20:25:55 +0000 (20:25 +0000)
commit71ebc3359bb1a5106ba3c282746817d5d44e735b
tree545b890ab51c541d5043172fc45d4ba2a8ce7844
parent017cb2c7d85fa4a07365a9a205aca21bc29d01a8
Fix _convert_NAME() so that it doesn't store locals for class bodies.

Fix list comp code generation -- emit GET_ITER instead of Const(0)
after the list.

Add CO_GENERATOR flag to generators.

Get CO_xxx flags from the new module
Lib/compiler/consts.py
Lib/compiler/pyassem.py
Lib/compiler/pycodegen.py
Tools/compiler/compiler/consts.py
Tools/compiler/compiler/pyassem.py
Tools/compiler/compiler/pycodegen.py