Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Issue #19437: Fix compiler_class(), handle compiler_lookup_arg() failure | Victor Stinner | 2013-11-05 | 1 | -0/+4 | |
| | ||||||
* | cleanup the construction of __qualname__ (closes #19301 again) | Benjamin Peterson | 2013-10-20 | 1 | -70/+82 | |
| | ||||||
* | Close #19313: remove no longer needed Py_XINCREF | Nick Coghlan | 2013-10-20 | 1 | -1/+0 | |
| | | | | Eliminates a refleak introduced in commit b4a325275fb0 | |||||
* | removal u_qualname, since compiler_scope_qualname is only ever called once | Benjamin Peterson | 2013-10-19 | 1 | -8/+0 | |
| | ||||||
* | strengthen condition and add assertion | Benjamin Peterson | 2013-10-19 | 1 | -1/+2 | |
| | ||||||
* | give explicitly global functions and classes a global __qualname__ (closes ↵ | Benjamin Peterson | 2013-10-19 | 1 | -17/+37 | |
| | | | | #19301) | |||||
* | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 | |
|\ | | | | | | | error messages and comments. | |||||
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 | |
| | | | | | | | | error messages and comments. | |||||
* | | Close #11619: The parser and the import machinery do not encode Unicode | Victor Stinner | 2013-08-26 | 1 | -20/+37 | |
| | | | | | | | | filenames anymore on Windows. | |||||
* | | Issue #18408: Fix compiler_import() to handle PyUnicode_Substring() failure ↵ | Victor Stinner | 2013-07-11 | 1 | -1/+4 | |
| | | | | | | | | properly | |||||
* | | fix compilation on Windows | Victor Stinner | 2013-05-16 | 1 | -1/+2 | |
| | | ||||||
* | | rather than passing locals to the class body, just execute the class body in ↵ | Benjamin Peterson | 2013-05-16 | 1 | -10/+1 | |
| | | | | | | | | the proper environment | |||||
* | | hide the __class__ closure from the class body (#12370) | Benjamin Peterson | 2013-05-15 | 1 | -15/+49 | |
| | | ||||||
* | | check local class namespace before reaching for cells (closes #17853) | Benjamin Peterson | 2013-04-30 | 1 | -1/+4 | |
| | | ||||||
* | | Merge indentation fix from 3.3. | Ezio Melotti | 2013-04-19 | 1 | -6/+6 | |
|\ \ | |/ | ||||||
| * | Fix indentation. | Ezio Melotti | 2013-04-19 | 1 | -6/+6 | |
| | | ||||||
* | | Issue #17645: convert an assert() into a proper exception in _Py_Mangle(). | Antoine Pitrou | 2013-04-06 | 1 | -2/+5 | |
|\ \ | |/ | ||||||
| * | Issue #17645: convert an assert() into a proper exception in _Py_Mangle(). | Antoine Pitrou | 2013-04-06 | 1 | -2/+5 | |
| | | ||||||
* | | unify some ast.argument's attrs; change Attribute column offset (closes #16795) | Benjamin Peterson | 2013-03-18 | 1 | -6/+6 | |
| | | | | | | | | Patch from Sven Brauch. | |||||
* | | evaluate lambda keyword-only defaults after positional defaults (#16967 again) | Benjamin Peterson | 2013-02-10 | 1 | -2/+2 | |
| | | ||||||
* | | evaluate positional defaults before keyword-only defaults (closes #16967) | Benjamin Peterson | 2013-02-10 | 1 | -2/+2 | |
| | | ||||||
* | | assert than we never try to deal with True, False, or None as a name | Benjamin Peterson | 2012-12-06 | 1 | -0/+4 | |
| | | ||||||
* | | create NameConstant AST class for None, True, and False literals (closes #16619) | Benjamin Peterson | 2012-12-06 | 1 | -6/+15 | |
|/ | ||||||
* | Issue #16546: make ast.YieldFrom argument mandatory. | Mark Dickinson | 2012-11-25 | 1 | -14/+11 | |
| | ||||||
* | Issue #5765: Apply a hard recursion limit in the compiler | Nick Coghlan | 2012-11-04 | 1 | -0/+5 | |
| | | | | | | | 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. | |||||
* | remove unused variable | Benjamin Peterson | 2012-07-18 | 1 | -1/+1 | |
| | ||||||
* | Issue #15368: fixing variable typo. | Meador Inge | 2012-07-18 | 1 | -1/+1 | |
|\ | ||||||
| * | Issue #15368: fixing variable typo. | Meador Inge | 2012-07-18 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #15368: make bytecode generation deterministic. | Meador Inge | 2012-07-18 | 1 | -2/+22 | |
|\ \ | |/ | ||||||
| * | Issue #15368: make bytecode generation deterministic. | Meador Inge | 2012-07-18 | 1 | -2/+22 | |
| | | ||||||
* | | Close #14857: fix regression in references to PEP 3135 implicit __class__ ↵ | Nick Coghlan | 2012-05-27 | 1 | -1/+1 | |
| | | | | | | | | closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue | |||||
* | | Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) | Victor Stinner | 2012-04-27 | 1 | -0/+1 | |
| | | | | | | | | | | | | * In debug mode, fill the string data with invalid characters * Simplify also reference counting in PyCodec_BackslashReplaceErrors() and PyCodec_XMLCharRefReplaceError() | |||||
* | | merge 3.2 (#14607) | Benjamin Peterson | 2012-04-17 | 1 | -1/+5 | |
|\ \ | |/ | ||||||
| * | mangle keyword-only argname when loading defaults (closes #14607) | Benjamin Peterson | 2012-04-17 | 1 | -1/+5 | |
| | | ||||||
* | | perform yield from delegation by repeating YIELD_FROM opcode (closes #14230) | Benjamin Peterson | 2012-03-15 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | This allows generators that are using yield from to be seen by debuggers. It also kills the f_yieldfrom field on frame objects. Patch mostly from Mark Shannon with a few tweaks by me. | |||||
* | | make YieldFrom its own distinct from Yield (closes #13780) | Benjamin Peterson | 2012-01-14 | 1 | -3/+7 | |
| | | ||||||
* | | Implement PEP 380 - 'yield from' (closes #11682) | Nick Coghlan | 2012-01-13 | 1 | -1/+7 | |
| | | ||||||
* | | PEP 3155 / issue #13448: Qualified name for classes and functions. | Antoine Pitrou | 2011-11-25 | 1 | -19/+120 | |
| | | ||||||
* | | Check for PyUnicode_CopyCharacters() failure | Victor Stinner | 2011-09-28 | 1 | -2/+8 | |
| | | ||||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -40/+49 | |
| | | ||||||
* | | use a invalid name for the __class__ closure for super() (closes #12370) | Benjamin Peterson | 2011-06-19 | 1 | -1/+1 | |
| | | | | | | | | | | 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 Peterson | 2011-05-29 | 1 | -10/+24 | |
| | | ||||||
* | | merge 3.2 | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | merge 3.1 | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 | |
| |\ | ||||||
| | * | fix spacing | Benjamin Peterson | 2011-05-27 | 1 | -2/+2 | |
| | | | ||||||
* | | | merge 3.2 | Benjamin Peterson | 2011-05-27 | 1 | -51/+51 | |
|\ \ \ | |/ / | ||||||
| * | | merge 3.1 | Benjamin Peterson | 2011-05-27 | 1 | -51/+51 | |
| |\ \ | | |/ | ||||||
| | * | fix indentation | Benjamin Peterson | 2011-05-27 | 1 | -50/+50 | |
| | | | ||||||
| | * | Recorded merge of revisions 85569-85570 via svnmerge from | Victor Stinner | 2010-10-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85569 | victor.stinner | 2010-10-16 15:14:10 +0200 (sam., 16 oct. 2010) | 4 lines Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects filenames encoded to the filesystem encoding with surrogateescape error handler (to support undecodable bytes), instead of UTF-8 in strict mode. ........ r85570 | victor.stinner | 2010-10-16 15:42:53 +0200 (sam., 16 oct. 2010) | 4 lines Fix ast_error_finish() and err_input(): filename can be NULL Fix my previous commit (r85569). ........ | |||||
| | * | Merged revisions 82171 via svnmerge from | Antoine Pitrou | 2010-06-22 | 1 | -38/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r82171 | antoine.pitrou | 2010-06-22 23:49:39 +0200 (mar., 22 juin 2010) | 10 lines Merged revisions 82169 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r82169 | antoine.pitrou | 2010-06-22 23:42:05 +0200 (mar., 22 juin 2010) | 4 lines Fix misindents in compile.c (for Benjamin). Of course, whoever used the wrong indentation rules needs to be spanked. ........ ................ |