summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
Commit message (Expand)AuthorAgeFilesLines
* Generally inehrit codeflags that are in PyCF_MASK, instead of writing it outThomas Wouters2006-02-281-4/+4
* from __future__ import with_statement addon for 'with', mostly written byThomas Wouters2006-02-281-0/+2
* SF patch #1438387, PEP 328: relative and absolute imports.Thomas Wouters2006-02-281-0/+27
* Clarify C-style exception handling with proper label name.Thomas Wouters2006-02-271-3/+3
* Fix assertions.Thomas Wouters2006-02-271-3/+3
* PEP 343 -- the with-statement.Guido van Rossum2006-02-271-4/+162
* PEP 308 implementation, including minor refdocs and some testcases. ItThomas Wouters2006-02-271-0/+26
* Merge ssize_t branch.Martin v. Löwis2006-02-151-9/+13
* Fix icc warnings: single bit fields should be unsigned, shadowing local varia...Neal Norwitz2006-01-071-16/+16
* 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