summaryrefslogtreecommitdiff
path: root/Lib/compiler
AgeCommit message (Expand)AuthorLines
2001-08-30Fix _convert_NAME() so that it doesn't store locals for class bodies.Jeremy Hylton-15/+15
2001-08-30spurious popJeremy Hylton-1/+0
2001-08-29Track the block stack more reasonably in order to handle continue inJeremy Hylton-13/+45
2001-08-29Improve stack depth computation for try/except and try/finallyJeremy Hylton-1/+4
2001-08-29Add __getitem__() handler for use by visitContinue()Jeremy Hylton-0/+2
2001-08-29Generate SET_LINENO for list and tuple literals when the open parenJeremy Hylton-1/+3
2001-08-29Make sure that atoms (Tuple, List, etc.) have lineno attributesJeremy Hylton-2/+4
2001-08-29Fix off-by-one errors in code to find depth of stack.Jeremy Hylton-3/+3
2001-08-29Undo change from list to dict for handling varnames, consts, etc.Jeremy Hylton-49/+22
2001-08-29Change default() to use getChildNodes() instead of getChildren()Jeremy Hylton-3/+2
2001-08-29Support // and //=Jeremy Hylton-1/+6
2001-08-29Add support for // and //=.Jeremy Hylton-5/+16
2001-08-29Add generator detection to symbol table.Jeremy Hylton-9/+35
2001-08-29Modify name conversion to be (hopefully) a bit more efficient.Jeremy Hylton-17/+52
2001-08-29Revise implementations of getChildren() and getChildNodes().Jeremy Hylton-100/+602
2001-08-29Don't include doc string of class in its code childJeremy Hylton-0/+5
2001-08-28Make sure the JUMP_ABSOLUTE and POP_BLOCK at the end of a for loop areJeremy Hylton-1/+1
2001-08-28XXX_NAME ops should affect varnamesJeremy Hylton-1/+4
2001-08-28Generate FOR_ITER-based loops instead of old FOR_LOOP-based loopsJeremy Hylton-5/+9
2001-08-27Handle private namesJeremy Hylton-20/+50
2001-08-27emit SET_LINENO for augmented assignmentsJeremy Hylton-0/+4
2001-08-27Many changes -- bug fixes and sundry improvementsJeremy Hylton-33/+30
2001-08-27Fix for sibling nodes that define the same free variableJeremy Hylton-6/+10
2001-08-27Add lookup_name() to optimize use of stack framesJeremy Hylton-5/+21
2001-08-27Two changes to visitor API:Jeremy Hylton-20/+23
2001-08-18Generate correct reprs for Mul, Add, etc.Jeremy Hylton-20/+8
2001-08-18Track removal of doc string from Module().nodes[0]Jeremy Hylton-7/+2
2001-08-18Add Yield() nodeJeremy Hylton-0/+12
2001-08-18Add Yield() statement handlerJeremy Hylton-1/+11
2001-08-14Fix typo in astgen scriptJeremy Hylton-1/+1
2001-08-14Regenerated from new ast.txt and new astgen.pyJeremy Hylton-12/+23
2001-06-09SF bug 430991: wrong co_lnotabTim Peters-17/+14
2001-04-12Pop loop off the loop stack before handling the loop's else clause.Jeremy Hylton-4/+4
2001-04-12Use new _implicitNameOp() to generate name op code for list comprehensions.Jeremy Hylton-4/+17
2001-04-12Add support for visitAssAttr to findOp().Jeremy Hylton-1/+1
2001-04-12pyassem.py:Jeremy Hylton-14/+111
2001-04-12Revise handling of tuple arguments so that the variables names matchJeremy Hylton-8/+8
2001-04-12Only treat an AugAssign as def if its the target is a Name.Jeremy Hylton-2/+4
2001-04-12Fix unpackSequence() to use _nameOp() rather than LOAD_FASTJeremy Hylton-1/+2
2001-04-12Inside a class scope always use LOAD_NAME, STORE_NAME, DEL_NAMEJeremy Hylton-0/+3
2001-04-12Preliminary support for nested scopesJeremy Hylton-89/+396
2001-04-12Define constants for types of scopesJeremy Hylton-0/+5
2001-04-11typoJeremy Hylton-4/+8
2001-04-11[finishing fix from earlier checkins]Jeremy Hylton-0/+1
2001-04-11Add support for extra (*) arguments to preorder.Jeremy Hylton-3/+3
2001-04-11Generate docstrings.Jeremy Hylton-3/+26
2001-04-11Add lineno attributes to Discard nodesJeremy Hylton-1/+3
2001-04-11Make sure the docstring is always entered as the first element in theJeremy Hylton-11/+1
2001-04-09Add globals to list of names returned by get_names().Jeremy Hylton-7/+13
2001-04-09Add two arguments to Scope constructor, module scope and class nameJeremy Hylton-24/+92