Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | satisfy the tabnanny (thanks to MH for noticing the problem) | Jeremy Hylton | 2000-02-21 | 1 | -90/+90 |
| | |||||
* | changes to _lookupName | Jeremy Hylton | 2000-02-17 | 1 | -14/+13 |
| | | | | | | - removed now (happily) unused second arg - need to verify results of [].index are correct; for building consts, need to have same value and same type, e.g. 2 not the same as 2L | ||||
* | the previous quick hack to fix def foo((x,y)) failed on some cases | Jeremy Hylton | 2000-02-17 | 1 | -9/+23 |
| | | | | | | | | | | | | | | | (big surprise). new solution is a little less hackish. Code gen adds a TupleArg instance in the argument slot. The tuple arg includes a copy of the names that it is responsble for binding. The PyAssembler uses this information to calculate the correct argcount. all fix this wacky case: del (a, ((b,), c)), d which is the same as: del a, b, c, d (Can't wait for Guido to tell me why.) solution uses findOp which walks a tree to find out whether it contains OP_ASSIGN or OP_DELETE or ... | ||||
* | fix argcount generation for arg lists containing tuple unpacks | Jeremy Hylton | 2000-02-16 | 1 | -2/+13 |
| | | | | this is sort of a hack | ||||
* | add a little debugging support when new.code raises SystemError | Jeremy Hylton | 2000-02-15 | 1 | -5/+21 |
| | |||||
* | split compile.py into two files | Jeremy Hylton | 2000-02-14 | 1 | -0/+437 |
add StackDepthFinder (and remove push/pop from CodeGen) add several nodes, including Ellipsis, Bit&|^, Exec |