summaryrefslogtreecommitdiff
path: root/Lib/compiler
AgeCommit message (Expand)AuthorLines
2000-11-06a few small optimizations that seem to give a 5-10% speedup; theJeremy Hylton-76/+80
2000-11-06move pruneNext method to correct object (doh!)Jeremy Hylton-24/+24
2000-11-06Change the graph structure to contain the code generator object forJeremy Hylton-21/+133
2000-11-06If a function contains a doc string, remove the doc string node fromJeremy Hylton-1/+5
2000-10-25Many changes.Jeremy Hylton-220/+145
2000-10-25Generated from rev 1.1 of ast.txtJeremy Hylton-672/+601
2000-10-25Small optimizations in dispatch method: 1) lookup node's __class__ onceJeremy Hylton-12/+14
2000-10-13Now supports entire Python 2.0 language and still supports PythonJeremy Hylton-93/+463
2000-10-12Fix SF bug #116263: support for from .. import *Jeremy Hylton-4/+13
2000-09-20change 2-space indent to 4-space indentJeremy Hylton-964/+962
2000-09-01patch by Neil Schemenauer to improve (fix?) line number generationJeremy Hylton-17/+32
2000-09-01Update magic number.Jeremy Hylton-15/+47
2000-08-12Bring Tools/compiler almost up to date. Specifically:Thomas Wouters-345/+346
2000-08-04replace most calls to emit 'SET_LINENO' will call to method set_linenoJeremy Hylton-31/+42
2000-08-04update my email addressJeremy Hylton-1/+4
2000-08-03add a bit more legal junkGreg Stein-8/+16
2000-05-02patches from Mark HammondJeremy Hylton-14/+58
2000-03-16complete rewriteJeremy Hylton-790/+821
2000-03-16simplify visitor walker classJeremy Hylton-32/+22
2000-03-16fix list.append problemsJeremy Hylton-3/+3
2000-03-16change name of Set method: items -> elements (avoids confusion withJeremy Hylton-1/+1
2000-03-06import compile function form pycodegenJeremy Hylton-0/+4
2000-03-06rename compile.py to pycodegen.pyJeremy Hylton-176/+25
2000-03-06add a doc stringJeremy Hylton-0/+20
2000-03-06fix import to refer to compiler packageJeremy Hylton-1/+1
2000-03-06revise arguments for addCode method on lnotab. take several numbersJeremy Hylton-10/+13
2000-03-06change node Classdef to ClassJeremy Hylton-24/+25
2000-03-06factor out the tree walking/visitor code that was in compile.pyJeremy Hylton-0/+127
2000-02-21satisfy the tabnanny (thanks to MH for noticing the problem)Jeremy Hylton-98/+98
2000-02-17changes to _lookupNameJeremy Hylton-14/+13
2000-02-17the previous quick hack to fix def foo((x,y)) failed on some casesJeremy Hylton-16/+48
2000-02-17add varargs and kwargs flags to Lambda nodesJeremy Hylton-0/+5
2000-02-17satisfy the tabnannyJeremy Hylton-196/+198
2000-02-16support for arglists with implicit tuple unpacksJeremy Hylton-15/+61
2000-02-16more robust assignment of lineno for keyword argsJeremy Hylton-3/+3
2000-02-16fix argcount generation for arg lists containing tuple unpacksJeremy Hylton-2/+13
2000-02-16add flatten helper functionJeremy Hylton-0/+11
2000-02-15finish first impl of code generatorJeremy Hylton-12/+70
2000-02-15fix creation of Ellipsis nodeJeremy Hylton-1/+1
2000-02-15add a little debugging support when new.code raises SystemErrorJeremy Hylton-5/+21
2000-02-15add line numbers to nodes in the except clause (when possible)Jeremy Hylton-1/+3
2000-02-15tidy up tryexcept and tryfinally nodesJeremy Hylton-14/+20
2000-02-14edit a doc stringJeremy Hylton-1/+6
2000-02-14get rid of spurious printJeremy Hylton-1/+0
2000-02-14looks like everything is working except for try/except (pystoneJeremy Hylton-6/+14
2000-02-14LeftShift & RightShift: fix reprs, change attr names to left and rightJeremy Hylton-10/+10
2000-02-14rename several of the generic attribute names for nodes. new node attrs are:Jeremy Hylton-12/+12
2000-02-14(), [], and {} should not be represented as constant expressions, theyJeremy Hylton-3/+3
2000-02-14split compile.py into two filesJeremy Hylton-536/+623
2000-02-12change MODULE_NAMESPACE/FUNCTION_NAMESPACE stuff to have a single flagJeremy Hylton-34/+87