diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-04-12 21:04:43 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-04-12 21:04:43 +0000 |
commit | 13d70944cba10f6f9b39aa94cb9c5df442523dda (patch) | |
tree | f443417d887e85847838db9d33f65199c6be7546 /Python/dup2.c | |
parent | 23f7aed2a792190c42209732f1520ccb7321be8e (diff) | |
download | cpython-git-13d70944cba10f6f9b39aa94cb9c5df442523dda.tar.gz |
Use new _implicitNameOp() to generate name op code for list comprehensions.
Always emit a SET_LINENO 0 at the beginning of the module. The
builtin compiler does this, and it's much easier to compare bytecode
generated by the two compilers if they both do.
Move the SET_LINENO inside the FOR_LOOP block for list
comprehensions. Also for compat. with builtin compiler.
Diffstat (limited to 'Python/dup2.c')
0 files changed, 0 insertions, 0 deletions