commit | 542b11acfd5309438ed2769be1fc476b9597f1fb | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Thu Apr 12 20:21:39 2001 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Thu Apr 12 20:21:39 2001 +0000 |
tree | a6ed2a4207c9421d884b6a171f988cb1ae2b3d8e | |
parent | 35cf0a3f90de8f2e3597e67701d1e03dd11a8cbe [diff] |
pyassem.py: Fix annoying bugs in flow graph layout code. In some cases the implicit control transfers weren't honored. In other cases, JUMP_FORWARD instructions jumped backwards. Remove unused arg from nextBlock(). pycodegen.py Add optional force kwarg to set_lineno() that will emit a SET_LINENO even if it is the same as the previous lineno. Use explicit LOAD_FAST and STORE_FAST to access list comp implicit variables. (The symbol table doesn't know about them.)