summaryrefslogtreecommitdiff
path: root/Python/compile.c
AgeCommit message (Expand)AuthorLines
2001-03-19Fix crashes in nested list comprehensionsJeremy Hylton-8/+10
2001-03-02Refactored the warning-issuing code more.Guido van Rossum-11/+17
2001-03-01Useful future statement support for the interactive interpreterJeremy Hylton-11/+27
2001-03-01Fix core dump in example from Samuele Pedroni:Jeremy Hylton-15/+31
2001-03-01Don't add global names to st->st_global if we're already iteratingJeremy Hylton-6/+15
2001-02-28undo introduction of st_global_starJeremy Hylton-3/+0
2001-02-28Warn about global statement at the module level.Jeremy Hylton-2/+17
2001-02-28Add warning/error handlin for problematic nested scopes cases asJeremy Hylton-26/+119
2001-02-28Let's have some sanity. Introduce a helper to issue a symbol tableGuido van Rossum-16/+17
2001-02-28Use the new PyErr_WarnExplicit() API to issue better warnings forGuido van Rossum-12/+21
2001-02-28Improve SyntaxErrors for bad future statements. Set file and locationJeremy Hylton-84/+6
2001-02-28Print the offending line of code in the traceback for SyntaxErrorsJeremy Hylton-30/+95
2001-02-28Presumed correct compiler pass for future statementsJeremy Hylton-4/+30
2001-02-27Improved __future__ parser; still more to doJeremy Hylton-43/+5
2001-02-27Add warnings about undefined "global"Jeremy Hylton-0/+29
2001-02-27Preliminary support for future nested scopesJeremy Hylton-114/+269
2001-02-23Shuffle premature decref; nuke unreachable code block.Tim Peters-9/+3
2001-02-23symtable_update_free_vars(), symtable_undo_free(),Barry Warsaw-3/+3
2001-02-23Fix for bug 133489: compiler leaks memoryJeremy Hylton-2/+6
2001-02-19Fix for implicit tuple + default arguments, courtesy of Michael Hudson.Jeremy Hylton-1/+3
2001-02-19When running python -O, do not include blocks defined in asserts inJeremy Hylton-0/+11
2001-02-19Tolerate ill-formed trees in symtable_assign(). Fixes SF bug 132510.Jeremy Hylton-5/+8
2001-02-18Bug #132313 error message confusing for assignment in lambda.Tim Peters-1/+8
2001-02-17Change temp names created by listcomps from [%d] to _[%d], so the one-linerTim Peters-2/+2
2001-02-12In symtable_update_free_vars() do not modify the dictionary whileJeremy Hylton-7/+27
2001-02-09SF patch 103589: Fix handling of cell vars that are either * or ** parameters.Jeremy Hylton-8/+15
2001-02-09Relax the rules for using 'from ... import *' and exec in the presenceJeremy Hylton-297/+112
2001-02-09Reindent a function that was somehow indented by 7 spaces. Also did aGuido van Rossum-15/+15
2001-02-02Fix symbol table pass to generation SyntaxError exceptions thatJeremy Hylton-32/+46
2001-02-02Move a bunch of definitions that were internal to compile.c toJeremy Hylton-116/+96
2001-02-02add missing DECREF (thanks, Barry)Jeremy Hylton-0/+1
2001-02-01Allow 'continue' inside 'try' clauseJeremy Hylton-8/+13
2001-02-01Undo recent change that banned using import to bind a global, as perJeremy Hylton-22/+25
2001-01-30Enforce two illegal import statements that were outlawed in theJeremy Hylton-44/+55
2001-01-29plug leak detected by BarryJeremy Hylton-0/+1
2001-01-25PEP 227 implementationJeremy Hylton-312/+768
2001-01-25Fix bug reported by Ka-Ping Yee: The compiler botched parsing functionJeremy Hylton-12/+15
2001-01-23Visit the initial test element of the listmaker for a listJeremy Hylton-1/+2
2001-01-23prevent symtable_params() from dereferencing off the end of theJeremy Hylton-0/+2
2001-01-22com_init(): My entry into the smallest patch possible category.Barry Warsaw-1/+1
2001-01-20SF patch #103336: Missing cast.Tim Peters-1/+1
2001-01-19This patch introduces an extra pass to the compiler that generates aJeremy Hylton-284/+1036
2001-01-19SF Patch #103250, by pj99: Optimize a strspn() out of startup.Guido van Rossum-4/+21
2000-11-27Plug a memory leak in com_import_stmt(): the tuple created to hold theGuido van Rossum-1/+2
2000-11-14SF bug 119622: compile errors due to redundant atof decls. I don't understandTim Peters-1/+0
2000-09-26Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake-6/+0
2000-09-08com_continue_stmt(): Improve error message when continue is foundFred Drake-1/+22
2000-09-02changed \x to consume exactly two hex digits. implements PEP-223Fredrik Lundh-16/+28
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-08-27Replace the run-time 'future-bytecode-stream-inspection' hack to find outThomas Wouters-2/+16