summaryrefslogtreecommitdiff
path: root/Python/compile.c
AgeCommit message (Expand)AuthorLines
2006-03-22Change SystemError into SyntaxError, when a Unicode stringMartin v. Löwis-1/+7
2006-02-16Cast assignments to ``unsigned char *`` from PyString_AS_STRING() calls toBrett Cannon-1/+1
2004-11-07SF patch 1025636: Check for NULL returns in compile.c:com_import_stmtJeremy Hylton-4/+14
2004-11-02Maintain peepholer's cumlc invariant by updating the running totalRaymond Hettinger-0/+4
2004-11-01Simplify and future proof NOP counting in the peepholer.Raymond Hettinger-13/+6
2004-10-30Fixed a comment and added another one.Armin Rigo-1/+4
2004-10-30Adopt some peepholer suggestions from Armin Rigo:Raymond Hettinger-15/+20
2004-10-26SF bug #1053819: Segfault in tuple_of_constantsRaymond Hettinger-1/+9
2004-10-24SF bug #1048870: call arg of lambda not updatingRaymond Hettinger-0/+2
2004-09-29Improve error message for augmented assignments to genexps or listcomps.Raymond Hettinger-2/+2
2004-09-29Fix two erroneous error messages.Raymond Hettinger-2/+2
2004-09-28Replaced a test with an assertion.Raymond Hettinger-3/+1
2004-09-22SF patch #1031667: Fold tuples of constants into a single constantRaymond Hettinger-11/+91
2004-08-31SF patch #1007189, multi-line imports, for instance:Anthony Baxter-31/+47
2004-08-25Bypass peepholing of code with lineno tables having intervals >= 255.Raymond Hettinger-4/+8
2004-08-25Fix typo in comment and add clarification.Raymond Hettinger-1/+2
2004-08-25Simplify chains of conditional jumps.Raymond Hettinger-2/+25
2004-08-24Incorporate review comments courtesy of Neal Norwitz:Raymond Hettinger-6/+8
2004-08-23SF Patch #1013667: Cleanup Peepholer OutputRaymond Hettinger-35/+100
2004-08-18Move the bytecode optimizer upstream so that its results are saved in pycRaymond Hettinger-3/+6
2004-08-17This is Mark Russell's patch:Michael W. Hudson-21/+19
2004-08-15Correct the order of application for decorators. Meant to be bottom-up and notBrett Cannon-1/+4
2004-08-15Fix incorrect comment for (struct compiling)->c_cellvarsBrett Cannon-1/+1
2004-08-12code_new(): Wouldn't compile on Windows, because of gcc'ism.Tim Peters-1/+1
2004-08-12Fix bugMichael W. Hudson-27/+88
2004-08-06SF bug #1004088: big code objects (>64K) may be optimized incorrectlyRaymond Hettinger-0/+5
2004-08-04Revert 2.312; turns out interning the file name did do some good (reducingMichael W. Hudson-1/+1
2004-08-03Don't intern the filename of a file being compiled.Michael W. Hudson-1/+1
2004-08-02fix for @decorators under a debug build.Anthony Baxter-0/+1
2004-08-02PEP-0318, @decorator-style. In Guido's words:Anthony Baxter-15/+112
2004-07-17Upgrade None assignment SyntaxWarning to a SyntaxError.Raymond Hettinger-7/+6
2004-07-17optimize_code(): Repaired gross error in new special-casing for None.Tim Peters-1/+2
2004-07-16Treat None as a constant.Raymond Hettinger-4/+20
2004-07-08Remove unused macros in .c filesNeal Norwitz-5/+0
2004-06-24Move NOP to end of code transformation.Raymond Hettinger-3/+7
2004-06-21Install two code generation optimizations that depend on NOP.Raymond Hettinger-3/+30
2004-06-08Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis-2/+2
2004-05-19SF patch #872326: Generator expression implementationRaymond Hettinger-7/+276
2004-03-22Fix for line events in the case:Armin Rigo-1/+31
2004-03-21Improve byte coding for multiple assignments.Raymond Hettinger-3/+74
2004-03-07SF patch #910929: Optimize list comprehensionsRaymond Hettinger-3/+1
2003-11-29- Removed FutureWarnings related to hex/oct literals and conversionsGuido van Rossum-13/+1
2003-10-18Patch #792869: Clarify error message for parameters declared global,Martin v. Löwis-4/+3
2003-10-12Simplify and speedup uses of Py_BuildValue():Raymond Hettinger-2/+2
2003-09-22Fix SF bug [ 808594 ] leak on lambda with duplicate arguments error.Jeremy Hylton-15/+16
2003-09-16Improve the leak fix so that PyTuple_New is only called when needed.Raymond Hettinger-9/+11
2003-09-15Fix leak discovered in test_new by Michael Hudson.Raymond Hettinger-17/+14
2003-08-28Fix for SF bug [ 784075 ] Fatal Python error: unknown scopeJeremy Hylton-4/+12
2003-07-15SF patch 763201: handling of SyntaxErrors in symbol table buildJeremy Hylton-33/+47
2003-06-20Removed bytecode transformation for sequence packing/unpacking.Raymond Hettinger-28/+0