summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Incorporate review comments courtesy of Neal Norwitz:Raymond Hettinger2004-08-241-6/+8
* SF Patch #1013667: Cleanup Peepholer OutputRaymond Hettinger2004-08-231-35/+100
* Move the bytecode optimizer upstream so that its results are saved in pycRaymond Hettinger2004-08-181-3/+6
* This is Mark Russell's patch:Michael W. Hudson2004-08-171-22/+20
* Correct the order of application for decorators. Meant to be bottom-up and notBrett Cannon2004-08-151-1/+4
* Fix incorrect comment for (struct compiling)->c_cellvarsBrett Cannon2004-08-151-1/+1
* code_new(): Wouldn't compile on Windows, because of gcc'ism.Tim Peters2004-08-121-1/+1
* Fix bugMichael W. Hudson2004-08-121-27/+88
* SF bug #1004088: big code objects (>64K) may be optimized incorrectlyRaymond Hettinger2004-08-061-0/+5
* Revert 2.312; turns out interning the file name did do some good (reducingMichael W. Hudson2004-08-041-1/+1
* Don't intern the filename of a file being compiled.Michael W. Hudson2004-08-031-1/+1
* fix for @decorators under a debug build.Anthony Baxter2004-08-021-0/+1
* PEP-0318, @decorator-style. In Guido's words:Anthony Baxter2004-08-021-15/+112
* Upgrade None assignment SyntaxWarning to a SyntaxError.Raymond Hettinger2004-07-171-7/+6
* optimize_code(): Repaired gross error in new special-casing for None.Tim Peters2004-07-171-1/+2
* Treat None as a constant.Raymond Hettinger2004-07-161-4/+20
* Remove unused macros in .c filesNeal Norwitz2004-07-081-5/+0
* Move NOP to end of code transformation.Raymond Hettinger2004-06-241-3/+7
* Install two code generation optimizations that depend on NOP.Raymond Hettinger2004-06-211-3/+30
* Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis2004-06-081-2/+2
* SF patch #872326: Generator expression implementationRaymond Hettinger2004-05-191-7/+276
* Fix for line events in the case:Armin Rigo2004-03-221-1/+31
* Improve byte coding for multiple assignments.Raymond Hettinger2004-03-211-3/+74