summaryrefslogtreecommitdiff
path: root/Python/compile.c
AgeCommit message (Expand)AuthorLines
2001-11-21backport of jeremy's 2.227:Anthony Baxter-19/+51
2001-06-27Backport Tim's checkin 2.201:Thomas Wouters-10/+54
2001-05-23Backport Jeremy's checkin 2.198:Thomas Wouters-6/+20
2001-04-14Make some private symbols static.Guido van Rossum-1/+2
2001-04-09Warn when assigning to __debug__ instead of raising an error.Jeremy Hylton-7/+2
2001-03-23Make it illegal to assign to __debug__ as per Guido's request.Jeremy Hylton-1/+12
2001-03-22Set the line number correctly for a nested function with an exec orJeremy Hylton-2/+5
2001-03-22Make error messages clearer for illegal combinations of nestedJeremy Hylton-15/+36
2001-03-22If a code object is compiled with nested scopes, define the CO_NESTED flag.Jeremy Hylton-0/+2
2001-03-21Update PyNode_CompileSymtable() to understand future statementsJeremy Hylton-9/+15
2001-03-21Fix PyFrame_FastToLocals() and counterpart to deal with cells andJeremy Hylton-51/+69
2001-03-20Fixup handling of free variables in methods when the class scope alsoJeremy Hylton-3/+12
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