summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
Commit message (Expand)AuthorAgeFilesLines
* Another "if 0:" hack, this time to complain about otherwise invisibleTim Peters2001-06-281-2/+61
* SF bug #436207: "if 0: yield x" is ignored.Tim Peters2001-06-261-1/+33
* Change the semantics of "return" in generators, as discussed on theTim Peters2001-06-231-25/+10
* Disallow 'yield' in a 'try' block when there's a 'finally' clause.Tim Peters2001-06-231-0/+10
* Merging the gen-branch into the main line, at Guido's direction. Yay!Tim Peters2001-06-181-9/+51
* SF bug 430991: wrong co_lnotabTim Peters2001-06-091-10/+54
* SF patch #416249, from Mark Favas: 2.1c1 compile: unused vrbl cleanupTim Peters2001-05-091-2/+0
* Several small changes. Mostly reformatting, adding parens.Jeremy Hylton2001-05-081-10/+11
* Fix 2.1 nested scopes crash reported by Evan SimpsonJeremy Hylton2001-04-271-6/+20
* Iterators phase 1. This comprises:Guido van Rossum2001-04-201-18/+6
* Make some private symbols static.Guido van Rossum2001-04-141-1/+2
* Warn when assigning to __debug__ instead of raising an error.Jeremy Hylton2001-04-091-7/+2
* Make it illegal to assign to __debug__ as per Guido's request.Jeremy Hylton2001-03-231-1/+12
* Set the line number correctly for a nested function with an exec orJeremy Hylton2001-03-221-2/+5
* Make error messages clearer for illegal combinations of nestedJeremy Hylton2001-03-221-15/+36
* If a code object is compiled with nested scopes, define the CO_NESTED flag.Jeremy Hylton2001-03-221-0/+2
* Update PyNode_CompileSymtable() to understand future statementsJeremy Hylton2001-03-211-9/+15
* Fix PyFrame_FastToLocals() and counterpart to deal with cells andJeremy Hylton2001-03-211-51/+69
* Fixup handling of free variables in methods when the class scope alsoJeremy Hylton2001-03-201-3/+12
* Fix crashes in nested list comprehensionsJeremy Hylton2001-03-191-8/+10
* Refactored the warning-issuing code more.Guido van Rossum2001-03-021-11/+17
* Useful future statement support for the interactive interpreterJeremy Hylton2001-03-011-11/+27
* Fix core dump in example from Samuele Pedroni:Jeremy Hylton2001-03-011-15/+31
* Don't add global names to st->st_global if we're already iteratingJeremy Hylton2001-03-011-6/+15
* undo introduction of st_global_starJeremy Hylton2001-02-281-3/+0
* Warn about global statement at the module level.Jeremy Hylton2001-02-281-2/+17
* Add warning/error handlin for problematic nested scopes cases asJeremy Hylton2001-02-281-26/+119
* Let's have some sanity. Introduce a helper to issue a symbol tableGuido van Rossum2001-02-281-16/+17
* Use the new PyErr_WarnExplicit() API to issue better warnings forGuido van Rossum2001-02-281-12/+21
* Improve SyntaxErrors for bad future statements. Set file and locationJeremy Hylton2001-02-281-84/+6
* Print the offending line of code in the traceback for SyntaxErrorsJeremy Hylton2001-02-281-31/+96
* Presumed correct compiler pass for future statementsJeremy Hylton2001-02-281-4/+30
* Improved __future__ parser; still more to doJeremy Hylton2001-02-271-43/+5
* Add warnings about undefined "global"Jeremy Hylton2001-02-271-0/+29
* Preliminary support for future nested scopesJeremy Hylton2001-02-271-114/+269
* Shuffle premature decref; nuke unreachable code block.Tim Peters2001-02-231-9/+3
* symtable_update_free_vars(), symtable_undo_free(),Barry Warsaw2001-02-231-3/+3
* Fix for bug 133489: compiler leaks memoryJeremy Hylton2001-02-231-2/+6
* Fix for implicit tuple + default arguments, courtesy of Michael Hudson.Jeremy Hylton2001-02-191-1/+3
* When running python -O, do not include blocks defined in asserts inJeremy Hylton2001-02-191-0/+11
* Tolerate ill-formed trees in symtable_assign(). Fixes SF bug 132510.Jeremy Hylton2001-02-191-5/+8
* Bug #132313 error message confusing for assignment in lambda.Tim Peters2001-02-181-1/+8
* Change temp names created by listcomps from [%d] to _[%d], so the one-linerTim Peters2001-02-171-2/+2
* In symtable_update_free_vars() do not modify the dictionary whileJeremy Hylton2001-02-121-7/+27
* SF patch 103589: Fix handling of cell vars that are either * or ** parameters.Jeremy Hylton2001-02-091-8/+15
* Relax the rules for using 'from ... import *' and exec in the presenceJeremy Hylton2001-02-091-297/+112
* Reindent a function that was somehow indented by 7 spaces. Also did aGuido van Rossum2001-02-091-15/+15
* Fix symbol table pass to generation SyntaxError exceptions thatJeremy Hylton2001-02-021-32/+46
* Move a bunch of definitions that were internal to compile.c toJeremy Hylton2001-02-021-116/+96
* add missing DECREF (thanks, Barry)Jeremy Hylton2001-02-021-0/+1