summaryrefslogtreecommitdiff
path: root/Lib/compiler
AgeCommit message (Expand)AuthorLines
2010-01-11Issue #2333: Backport set and dict comprehensions syntax.Alexandre Vassalotti-100/+220
2010-01-09Issue #2335: Backport set literals syntax from Python 3.x.Alexandre Vassalotti-8/+40
2010-01-04Issue #7092: Fix the DeprecationWarnings emitted by the standard libraryAntoine Pitrou-32/+30
2009-05-25Allow multiple context managers in one with statement, as proposedGeorg Brandl-10/+14
2009-02-28Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} withJeffrey Yasskin-35/+15
2009-02-07Issue #999042: The Python compiler now handles explict global statementsNeil Schemenauer-10/+15
2009-02-07Make names generated for 'with' variables match the built-in compiler.Neil Schemenauer-1/+1
2009-02-06Overhaul Lib/compiler block ordering. The previous code was filled withNeil Schemenauer-159/+97
2008-12-17Issue #2183: Simplify and optimize bytecode for list comprehensions.Antoine Pitrou-11/+1
2008-12-15#4578: fix has_key() usage in compiler package.Georg Brandl-18/+16
2008-08-20follow-up of issue3473: update the compiler package to recognize the new syntax.Amaury Forgeot d'Arc-26/+24
2008-05-10Deprecate the compiler package for removal in 3.0.Brett Cannon-0/+3
2008-03-27Fix test_compiler after adding unicode_literalsNeal Norwitz-1/+2
2008-03-19Fixed compiler module so __future__ print_function is compilable.Eric Smith-2/+5
2008-03-07Speed up with statements by storing the __exit__ method on the stack instead ...Nick Coghlan-4/+1
2008-02-25Issue 2117. Update compiler module to handle class decorators.Facundo Batista-2/+18
2008-02-23Patch #2167 from calvin: Remove unused importsChristian Heimes-1/+0
2007-11-27Replaced import of the 'new' module with 'types' module and added a deprecati...Christian Heimes-2/+2
2007-05-18Backport PEP 3110's new 'except' syntax to 2.6.Collin Winter-1/+1
2007-01-27Patch #1638243: the compiler package is now able to correctly compileGeorg Brandl-1/+3
2006-10-29Remove trailing comma.Georg Brandl-1/+1
2006-10-29Bug #1586448: the compiler module now emits the same bytecode forGeorg Brandl-7/+5
2006-08-16Fix a bug in the ``compiler`` package that caused invalid code to beNeil Schemenauer-9/+16
2006-08-04Fix the 'compiler' package to generate correct code for MAKE_CLOSURE.Neil Schemenauer-26/+13
2006-07-29Revert rev 42617, it was introduced to work around bug #1441397.Georg Brandl-7/+0
2006-07-29Bug #1441397: The compiler module now recognizes module and functionGeorg Brandl-0/+1
2006-06-27Whitespace normalization.Tim Peters-1/+1
2006-06-22Set lineno correctly on list, tuple and dict literals.Georg Brandl-5/+5
2006-06-21fix [ 1509132 ] compiler module builds incorrect AST for TryExceptFinallyGeorg Brandl-17/+22
2006-06-11Fix errors found by pycheckerNeal Norwitz-3/+1
2006-05-03Bug #1385040: don't allow "def foo(a=1, b): pass" in the compiler package.Georg Brandl-7/+5
2006-05-02Get rid of __context__, per the latest changes to PEP 343 and python-devGuido van Rossum-2/+0
2006-04-03Use absolute importsNeal Norwitz-6/+6
2006-03-14Teach the compiler module about augmented assignment to tuple subscriptsNick Coghlan-4/+2
2006-03-10Um, I thought I'd already checked this in.Guido van Rossum-3/+1
2006-03-04Whitespace normalization.Tim Peters-3/+3
2006-03-03SF bug 1442442: LIST_APPEND optimization got lost in the AST merge.Neal Norwitz-0/+1
2006-03-03Fix compiler breakage related to absolute importsNeal Norwitz-2/+2
2006-03-03Hopefully this removes all vestiges of CO_GENERATOR_ALLOWED that canNeal Norwitz-4/+2
2006-03-03Add support for absolute/relative imports and if/else expressions:Thomas Wouters-19/+82
2006-03-02Fix failure of test_compiler.py when compiling test_contextlib.py.Guido van Rossum-3/+3
2006-02-28from __future__ import with_statement addon for 'with', mostly written byThomas Wouters-1/+2
2006-02-28Whitespace normalization.Tim Peters-3/+3
2006-02-28Forgot to explain the effect of the new opcode.Guido van Rossum-0/+1
2006-02-28Update the compiler package to compile the with-statement.Guido van Rossum-0/+62
2006-02-27PEP 343 -- the with-statement.Guido van Rossum-3/+28
2006-02-27Make or_test similar to test, not testlist.Martin v. Löwis-1/+2
2006-02-27Skip over doc strings.Martin v. Löwis-1/+8
2006-02-27Handle testlist_safe and or_test like testlist.Martin v. Löwis-2/+2
2006-02-27Alias non-terminals introduced for backwards compatibility.Martin v. Löwis-0/+3