Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError | Serhiy Storchaka | 2013-02-10 | 1 | -7/+11 |
|\ | | | | | | | and a full traceback including line number. | ||||
| * | Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError | Serhiy Storchaka | 2013-02-10 | 1 | -7/+11 |
| | | | | | | | | and a full traceback including line number. | ||||
* | | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵ | Antoine Pitrou | 2013-02-09 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag), mpdecimal (needs to build without Python.h). | ||||
| * | Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) ↵ | Antoine Pitrou | 2013-02-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | in the interpreter. I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag). | ||||
* | | Issue #16546: make ast.YieldFrom argument mandatory. | Mark Dickinson | 2012-11-25 | 1 | -2/+1 |
| | | |||||
* | | Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵ | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
|\ \ | |/ | | | | | going out of scope leaks the storage it points to. | ||||
| * | Fixed memory leak in error branch of parsestrplus. CID 715374 Variable s ↵ | Christian Heimes | 2012-09-10 | 1 | -0/+1 |
| | | | | | | | | going out of scope leaks the storage it points to. | ||||
* | | merge 3.2 | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | put * in the normal place | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
| | | |||||
* | | get rid of ast_error_finish by passing the compiling struct to ast_error | Benjamin Peterson | 2012-09-02 | 1 | -118/+72 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | move variable decl to the top of the function | Benjamin Peterson | 2012-09-02 | 1 | -2/+2 |
| | | |||||
* | | merge 3.2 (#15846) | Benjamin Peterson | 2012-09-02 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | prevert ast errors from being normalized before ast_error_finish is called ↵ | Benjamin Peterson | 2012-09-02 | 1 | -0/+8 |
| | | | | | | | | (closes #15846) | ||||
* | | Check return value of asdl_seq_new(). Found by Coverity. | Stefan Krah | 2012-08-20 | 1 | -0/+2 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-03-12 | 1 | -6/+0 |
|\ \ | |/ | |||||
| * | kill this disabled code | Benjamin Peterson | 2012-03-12 | 1 | -6/+0 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-03-12 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | use correct naming convention | Benjamin Peterson | 2012-03-12 | 1 | -2/+2 |
| | | |||||
* | | Basic support for PEP 414 without docs or tests. | Armin Ronacher | 2012-03-04 | 1 | -0/+3 |
| | | |||||
* | | fix indentation | Benjamin Peterson | 2012-01-16 | 1 | -5/+5 |
| | | |||||
* | | break out switch at correct place | Benjamin Peterson | 2012-01-16 | 1 | -1/+1 |
| | | |||||
* | | only finish error if one occurred | Benjamin Peterson | 2012-01-16 | 1 | -1/+2 |
| | | |||||
* | | move LINENO define to where it actually belongs | Benjamin Peterson | 2012-01-16 | 1 | -4/+0 |
| | | |||||
* | | streamline normalizer identification a bit | Benjamin Peterson | 2012-01-16 | 1 | -25/+55 |
| | | |||||
* | | fix spelling | Benjamin Peterson | 2012-01-16 | 1 | -1/+1 |
| | | |||||
* | | invert condition (head bang) | Benjamin Peterson | 2012-01-16 | 1 | -1/+1 |
| | | |||||
* | | fix possible refleaks | Benjamin Peterson | 2012-01-16 | 1 | -2/+4 |
| | | |||||
* | | use helpful PyUnicode_IS_ASCII macro | Benjamin Peterson | 2012-01-16 | 1 | -1/+1 |
| | | |||||
* | | PyUnicode_DecodeUTF8 will always return a ready string | Benjamin Peterson | 2012-01-16 | 1 | -1/+2 |
| | | |||||
* | | rewrite such that this actually makes sense | Benjamin Peterson | 2012-01-16 | 1 | -1/+1 |
| | | |||||
* | | make YieldFrom its own distinct from Yield (closes #13780) | Benjamin Peterson | 2012-01-14 | 1 | -1/+7 |
| | | |||||
* | | Implement PEP 380 - 'yield from' (closes #11682) | Nick Coghlan | 2012-01-13 | 1 | -5/+16 |
| | | |||||
* | | Issue #13748: Raw bytes literals can now be written with the `rb` prefix as ↵ | Antoine Pitrou | 2012-01-12 | 1 | -7/+12 |
| | | | | | | | | well as `br`. | ||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -1/+1 |
| | | |||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -1/+2 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -37/+24 |
| | | |||||
* | | add a AST validator (closes #12575) | Benjamin Peterson | 2011-08-09 | 1 | -4/+482 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-06-21 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix indentation | Benjamin Peterson | 2011-06-21 | 1 | -1/+1 |
| | | |||||
* | | unify TryExcept and TryFinally (closes #12199) | Benjamin Peterson | 2011-05-29 | 1 | -18/+4 |
| | | |||||
* | | reflect with statements with multiple items in the AST (closes #12106) | Benjamin Peterson | 2011-05-27 | 1 | -27/+16 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-04-12 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | merge 3.1 | Benjamin Peterson | 2011-04-12 | 1 | -0/+1 |
| |\ | |||||
| | * | make assigning to a bytes literal a syntax error (closes #11506) | Benjamin Peterson | 2011-04-12 | 1 | -0/+1 |
| | | | |||||
| | * | Recorded merge of revisions 85569-85570 via svnmerge from | Victor Stinner | 2010-10-19 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 84214 via svnmerge from | Amaury Forgeot d'Arc | 2010-08-19 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84214 | amaury.forgeotdarc | 2010-08-19 23:32:38 +0200 (jeu., 19 août 2010) | 3 lines Add tests for r84209 (crashes in the Ast builder) Also remove one tab, and move a check closer to the possible failure. ........ | ||||
| | * | Merged revisions 84209 via svnmerge from | Amaury Forgeot d'Arc | 2010-08-19 | 1 | -25/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84209 | amaury.forgeotdarc | 2010-08-19 19:43:15 +0200 (jeu., 19 août 2010) | 5 lines Check the return values for all functions returning an ast node. Failure to do it may result in strange error messages or even crashes, in admittedly convoluted cases that are normally syntax errors, like: def f(*xx, __debug__): pass ........ | ||||
| | * | Revert r82044, since it changed the semantics of negated imaginary literals. | Mark Dickinson | 2010-06-30 | 1 | -0/+26 |
| | | | | | | | | | | | | | | | Before r82044, '-7j' became complex(0.0, -7.0); afterwards it was complex(-0.0, -7.0). See issue 9011. | ||||
| | * | Merged revisions 82043 via svnmerge from | Mark Dickinson | 2010-06-17 | 1 | -26/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82043 | mark.dickinson | 2010-06-17 13:33:22 +0100 (Thu, 17 Jun 2010) | 6 lines Issue #9011: Remove buggy and unnecessary ST->AST compilation code dealing with unary minus applied to a constant. The removed code was mutating the ST, causing a second compilation to fail. (The peephole optimizer already takes care of optimizing this case, so there's no lost optimization opportunity here.) ........ |