]> granicus.if.org Git - python/commit
Bring Tools/compiler almost up to date. Specifically:
authorThomas Wouters <thomas@python.org>
Sat, 12 Aug 2000 20:32:46 +0000 (20:32 +0000)
committerThomas Wouters <thomas@python.org>
Sat, 12 Aug 2000 20:32:46 +0000 (20:32 +0000)
commit46cc7c0f7b7583927b8a253cdba87535c6522184
treea2e781df185e6d78f53c3cf310f97ed5c8d8e6db
parent81f7eb6c6b50fb2d631c31a69fbbd4a68b9d2a50
Bring Tools/compiler almost up to date. Specifically:

- fix tab space issues (SF patch #101167 by Neil Schemenauer)
- fix co_flags for classes to include CO_NEWLOCALS (SF patch #101145 by Neil)
- fix for merger of UNPACK_LIST and UNPACK_TUPLE into UNPACK_SEQUENCE,
  (SF patch #101168 by, well, Neil :)
- Adjust bytecode MAGIC to current bytecode.

TODO: teach compile.py about list comprehensions.
Lib/compiler/pyassem.py
Lib/compiler/pycodegen.py
Lib/compiler/visitor.py
Tools/compiler/compiler/pyassem.py
Tools/compiler/compiler/pycodegen.py
Tools/compiler/compiler/visitor.py