summaryrefslogtreecommitdiffstats
path: root/Python/symtable.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #24619: More tests; fix nits in compiler.cYury Selivanov2015-07-221-1/+1
|
* Issue #19235: Add new RecursionError exception. Patch by Georg Brandl.Yury Selivanov2015-07-031-2/+2
|
* PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-6/+43
|
* PEP 448: additional unpacking generalizations (closes #2292)Benjamin Peterson2015-05-061-18/+8
| | | | Patch by Neil Girdhar.
* remove the concept of an unoptimized function scope from the compiler, since ↵Benjamin Peterson2015-04-281-16/+0
| | | | it can't happen anymore
* remove dead *-import checking code (closes #24049)Benjamin Peterson2015-04-241-31/+0
|
* merge 3.3 (#19098)Benjamin Peterson2013-09-271-2/+6
|\
| * don't scale compiler stack frames if the recursion limit is huge (closes #19098)Benjamin Peterson2013-09-271-2/+6
| |
| * move definition to top of blockBenjamin Peterson2013-05-171-1/+2
| |
| * complain about "global __class__" in a class body (closes #17983)Benjamin Peterson2013-05-151-0/+6
| |
* | Close #11619: The parser and the import machinery do not encode UnicodeVictor Stinner2013-08-261-15/+40
| | | | | | | | filenames anymore on Windows.
* | Issue #18408: ste_new() initialize all attributes before handling errorVictor Stinner2013-07-111-13/+9
| | | | | | | | If an attribute is not initialized, the destructor can crash
* | rather than passing locals to the class body, just execute the class body in ↵Benjamin Peterson2013-05-161-6/+1
| | | | | | | | the proper environment
* | hide the __class__ closure from the class body (#12370)Benjamin Peterson2013-05-151-15/+19
| |
* | unify some ast.argument's attrs; change Attribute column offset (closes #16795)Benjamin Peterson2013-03-181-6/+6
| | | | | | | | Patch from Sven Brauch.
* | create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-061-0/+1
| |
* | Issue #16546: merge fix from 3.3Mark Dickinson2012-11-251-6/+6
|\ \ | |/
| * Issue #16546: make ast.YieldFrom argument mandatory.Mark Dickinson2012-11-251-6/+6
| |
* | Issue #5765: Merge from 3.3Nick Coghlan2012-11-041-31/+70
|\ \ | |/
| * Issue #5765: Apply a hard recursion limit in the compilerNick Coghlan2012-11-041-29/+68
| | | | | | | | | | | | | | Previously, excessive nesting in expressions would blow the stack and segfault the interpreter. Now, a hard limit based on the configured recursion limit and a hardcoded scaling factor is applied.
* | point errors related to nonlocals and globals to the statement declaring ↵Benjamin Peterson2012-11-011-8/+49
|/ | | | them (closes #10189)
* check return value of _PyUnicode_AsStringBenjamin Peterson2012-10-311-2/+6
|
* Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵Christian Heimes2012-09-121-1/+3
|\ | | | | | | decref 'k' in too many error cases.
| * Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵Christian Heimes2012-09-121-1/+3
| | | | | | | | decref 'k' in too many error cases.
* | Partly revert ad3824a90261 and add comment about reference ownershipChristian Heimes2012-09-121-2/+1
|\ \ | |/
| * Partly revert ad3824a90261 and add comment about reference ownershipChristian Heimes2012-09-121-2/+1
| |
* | Closed reference leak of variable 'k' in function ste_new which wasn't ↵Christian Heimes2012-09-101-1/+2
|\ \ | |/ | | | | decrefed in error cases
| * Closed reference leak of variable 'k' in function ste_new which wasn't ↵Christian Heimes2012-09-101-1/+2
| | | | | | | | decrefed in error cases
* | Close #14857: fix regression in references to PEP 3135 implicit __class__ ↵Nick Coghlan2012-05-271-11/+8
| | | | | | | | closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue
* | make YieldFrom its own distinct from Yield (closes #13780)Benjamin Peterson2012-01-141-2/+6
| |
* | Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-131-19/+0
| |
* | Issue #13343: Fix a SystemError when a lambda expression uses a globalAmaury Forgeot d'Arc2011-11-041-0/+3
|\ \ | |/ | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None)
| * Issue #13343: Fix a SystemError when a lambda expression uses a globalAmaury Forgeot d'Arc2011-11-041-0/+3
| | | | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None)
* | Implement PEP 393.Martin v. Löwis2011-09-281-4/+4
| |
* | fix possibily uninitialized memory usage (closes #12474)Benjamin Peterson2011-07-021-2/+2
| |
* | store the current scope on the stack right awayBenjamin Peterson2011-06-301-21/+18
| |
* | remove VISIT_*_IN_BLOCK macrosBenjamin Peterson2011-06-291-41/+10
| | | | | | | | | | These are pointless because on error, all blocks will be finalized by symtable_dealloc.
* | merge 3.2Benjamin Peterson2011-06-211-6/+6
|\ \ | |/
| * fix indentationBenjamin Peterson2011-06-211-6/+6
| |
* | use a invalid name for the __class__ closure for super() (closes #12370)Benjamin Peterson2011-06-201-8/+11
| | | | | | | | | | This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4)
* | unify TryExcept and TryFinally (closes #12199)Benjamin Peterson2011-05-291-8/+5
| |
* | reflect with statements with multiple items in the AST (closes #12106)Benjamin Peterson2011-05-271-4/+12
| |
* | Issue #9904: fix and clarify some comments + fix indentation in symtable codeEli Bendersky2011-04-101-4/+4
|/
* fix uninitialized struct member #10152Benjamin Peterson2010-10-201-0/+1
|
* don't identify the toplevel namespace by name #9997Benjamin Peterson2010-10-161-1/+1
|
* add column offset to all syntax errorsBenjamin Peterson2010-09-201-24/+37
|
* revert unintended changesBenjamin Peterson2010-07-201-9/+2
|
* move test_trace.py so as not to conflict with future tests for the trace moduleBenjamin Peterson2010-07-201-2/+9
|
* Merged revisions 81906 via svnmerge fromBenjamin Peterson2010-06-111-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81906 | benjamin.peterson | 2010-06-11 16:40:37 -0500 (Fri, 11 Jun 2010) | 1 line different spellings are just unacceptable ........
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-1307/+1307
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........