summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
Commit message (Expand)AuthorAgeFilesLines
* Adjust usage of compiler_use_new_block to its return type.Martin v. Löwis2006-01-021-2/+2
* fixed compilation with an ordinary C89 compilerFredrik Lundh2005-12-181-2/+1
* Fix Armin's bug 1333982. He found it, he didn't created it :-)Neal Norwitz2005-12-181-9/+1
* Handle more error conditions with SystemErrorNeal Norwitz2005-12-181-8/+22
* 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