Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Small optimizations in dispatch method: 1) lookup node's __class__ once | Jeremy Hylton | 2000-10-25 | 1 | -12/+14 |
| | | | | | and store in local; 2) define _preorder to be dispatch (rather than method that called dispatch). | ||||
* | Bring Tools/compiler almost up to date. Specifically: | Thomas Wouters | 2000-08-12 | 1 | -22/+22 |
| | | | | | | | | | | - 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. | ||||
* | simplify visitor walker class | Jeremy Hylton | 2000-03-16 | 1 | -32/+22 |
| | | | | | | - remove postorder - remove protocol for automatically walking children based on visitor method return value; now only walks if there is no method | ||||
* | fix import to refer to compiler package | Jeremy Hylton | 2000-03-06 | 1 | -1/+1 |
| | |||||
* | factor out the tree walking/visitor code that was in compile.py | Jeremy Hylton | 2000-03-06 | 1 | -0/+127 |