summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
Commit message (Expand)AuthorAgeFilesLines
* Set MemoryError when alloc failsNeal Norwitz2005-12-181-3/+11
* Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines,Neal Norwitz2005-12-171-11/+14
* Simplify logic for handling import *Neal Norwitz2005-12-061-6/+3
* Fix a few more ref leaks. Backport candidateNeal Norwitz2005-11-241-0/+2
* Fix a few more memory leaksNeal Norwitz2005-11-201-0/+3
* Last batch of ref leaks in new AST code.Neal Norwitz2005-11-191-25/+50
* Correctly handle identifiers for anonymous scopes and align genexpr name with...Nick Coghlan2005-11-161-11/+17
* Fix a lot of memory and ref leaks in error paths.Neal Norwitz2005-11-131-9/+35
* make internal method staticNeal Norwitz2005-11-131-1/+1
* Ensure that compiler_exit_scope() is called as necessary to free memoryNeil Schemenauer2005-10-251-10/+18
* Fix problem handling EXTENDED_ARGs from SF bug # 1333982Neal Norwitz2005-10-231-1/+30
* cleanup a bit and reuse instrsize (instruction size). working towards fixing...Neal Norwitz2005-10-231-30/+24
* Remove unnecessary local variable.Neil Schemenauer2005-10-231-3/+2
* Fix private name mangling. The symtable also must do mangles so thatNeil Schemenauer2005-10-231-4/+16
* Use PyTuple_Pack instead of Py_BuildValue.Neil Schemenauer2005-10-231-2/+1
* Fix arigo's funky LOAD_NAME bug: implicit globals inside classes haveNeil Schemenauer2005-10-231-1/+2
* Don't stop generating code for import statements after the first "import as"Neil Schemenauer2005-10-231-2/+3
* Use <lamba> as the function name for lambdas (matches old compiler).Neil Schemenauer2005-10-211-1/+1
* ANSI-C-ify the placement of local var declarations.Armin Rigo2005-10-211-1/+2
* Merge ast-branch to headJeremy Hylton2005-10-201-5613/+2880
* com_yield_expr(): Squash new compiler wng about unreferenced local.Tim Peters2005-08-031-1/+0
* PEP 342 implementation. Per Guido's comments, the generator throw()Phillip J. Eby2005-08-021-12/+64
* Fix signedness of various char variables to stop causing a warning under gcc 4.Brett Cannon2005-06-251-1/+1
* Allow classes to be defined with empty parentheses. This means thatBrett Cannon2005-03-051-2/+3
* Silence a gcc warning about putting in parentheses around && expressions mixedBrett Cannon2005-03-031-5/+6
* Preserve sign of -0.0 when result is run through marshal.Raymond Hettinger2005-02-231-2/+4
* Document how the pattern recognizer keeps all of its references in bounds.Raymond Hettinger2005-02-211-0/+8
* Teach the peepholer to fold unary operations on constants.Raymond Hettinger2005-02-201-0/+62
* Remove the set conversion which didn't work with: [] in (0,)Raymond Hettinger2005-02-101-53/+1
* Have set conversion replace existing constant if not used elsewhere.Raymond Hettinger2005-02-091-1/+7
* Adopt Skip's idea to optimize lists of constants in the contextRaymond Hettinger2005-02-071-7/+13
* Transform "x in (1,2,3)" to "x in frozenset([1,2,3])".Raymond Hettinger2005-02-061-1/+48
* Do not fold a constant if a large sequence will result.Raymond Hettinger2005-01-261-5/+15
* Re-running python with/without the -Qnew flag uses incorrectly optimizedArmin Rigo2005-01-071-6/+3
* Teach the peephole optimizer to fold simple constant expressions.Raymond Hettinger2005-01-021-1/+118
* SF patch 1025636: Check for NULL returns in compile.c:com_import_stmtJeremy Hylton2004-11-071-4/+14
* Maintain peepholer's cumlc invariant by updating the running totalRaymond Hettinger2004-11-021-0/+4
* Simplify and future proof NOP counting in the peepholer.Raymond Hettinger2004-11-011-13/+6
* Fixed a comment and added another one.Armin Rigo2004-10-301-1/+4
* Adopt some peepholer suggestions from Armin Rigo:Raymond Hettinger2004-10-301-15/+20
* SF bug #1053819: Segfault in tuple_of_constantsRaymond Hettinger2004-10-261-1/+9
* SF bug #1048870: call arg of lambda not updatingRaymond Hettinger2004-10-241-0/+2
* Improve error message for augmented assignments to genexps or listcomps.Raymond Hettinger2004-09-291-2/+2
* Fix two erroneous error messages.Raymond Hettinger2004-09-291-2/+2
* Replaced a test with an assertion.Raymond Hettinger2004-09-281-3/+1
* SF patch #1031667: Fold tuples of constants into a single constantRaymond Hettinger2004-09-221-11/+91
* SF patch #1007189, multi-line imports, for instance:Anthony Baxter2004-08-311-31/+47
* Bypass peepholing of code with lineno tables having intervals >= 255.Raymond Hettinger2004-08-251-4/+8
* Fix typo in comment and add clarification.Raymond Hettinger2004-08-251-1/+2
* Simplify chains of conditional jumps.Raymond Hettinger2004-08-251-2/+25