Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #12844: More than 255 arguments can now be passed to a function. | Serhiy Storchaka | 2016-11-28 | 1 | -5/+0 |
| | |||||
* | Issue #28715: Added error checks for PyUnicode_AsUTF8(). | Serhiy Storchaka | 2016-11-20 | 1 | -3/+5 |
|\ | |||||
| * | Issue #28715: Added error checks for PyUnicode_AsUTF8(). | Serhiy Storchaka | 2016-11-20 | 1 | -3/+5 |
| | | |||||
* | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -4/+4 |
|\ \ | |/ | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -2/+2 |
| | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | Fix warn_invalid_escape_sequence() | Victor Stinner | 2016-11-15 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | Issue #28691: Fix warn_invalid_escape_sequence(): handle correctly DeprecationWarning raised as an exception. First clear the current exception to replace the DeprecationWarning exception with a SyntaxError exception. Unit test written by Serhiy Storchaka. | ||||
* | | Issue #26182: Fix ia refleak in code that raises DeprecationWarning. | Yury Selivanov | 2016-11-08 | 1 | -3/+5 |
| | | |||||
* | | Fixed issue #28633: segfault when concatenating bytes literal and f-string. | Eric V. Smith | 2016-11-07 | 1 | -4/+5 |
| | | |||||
* | | Issue 28128: Print out better error/warning messages for invalid string ↵ | Eric V. Smith | 2016-10-31 | 1 | -5/+61 |
| | | | | | | | | escapes. Backport to 3.6. | ||||
* | | delete dead code | Benjamin Peterson | 2016-09-19 | 1 | -3/+0 |
| | | |||||
* | | Issue #26182: Raise DeprecationWarning for improper use of async/await keywords | Yury Selivanov | 2016-09-15 | 1 | -0/+20 |
| | | |||||
* | | Make an f-string error message more exact and consistent. | Eric V. Smith | 2016-09-11 | 1 | -1/+1 |
| | | |||||
* | | just start with an int rather than casting | Benjamin Peterson | 2016-09-10 | 1 | -2/+2 |
| | | |||||
* | | Issue 27948: Allow backslashes in the literal string portion of f-strings, ↵ | Eric V. Smith | 2016-09-10 | 1 | -273/+211 |
| | | | | | | | | but not in the expressions. Also, require expressions to begin and end with literal curly braces. | ||||
* | | Issue #26331: Implement the parsing part of PEP 515. | Brett Cannon | 2016-09-09 | 1 | -1/+26 |
| | | | | | | | | Thanks to Georg Brandl for the patch. | ||||
* | | Issue #28008: Implement PEP 530 -- asynchronous comprehensions. | Yury Selivanov | 2016-09-09 | 1 | -11/+24 |
| | | |||||
* | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-09 | 1 | -2/+84 |
| | | | | | | | | Patch by Ivan Levkivskyi. | ||||
* | | replace PY_SIZE_MAX with SIZE_MAX | Benjamin Peterson | 2016-09-07 | 1 | -1/+1 |
| | | |||||
* | | Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a ↵ | Eric V. Smith | 2016-09-03 | 1 | -0/+10 |
| | | | | | | | | temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts. | ||||
* | | Merge spelling and grammar fixes from 3.5 | Martin Panter | 2016-08-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix spelling and grammar in documentation and code comments | Martin Panter | 2016-08-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #27352: Correct the validation of the ImportFrom AST node and simplify | Serhiy Storchaka | 2016-06-27 | 1 | -2/+2 |
| | | | | | | | | the implementation of the IMPORT_NAME opcode. | ||||
* | | Issue #23275: Allow () = iterable assignment syntax | Berker Peksag | 2016-05-18 | 1 | -7/+2 |
| | | | | | | | | Documentation updates by Martin Panter. | ||||
* | | remove unused c_encoding struct member | Benjamin Peterson | 2016-02-26 | 1 | -17/+4 |
| | | |||||
* | | rewrite parsestr() so it's comprehensible; remove dead code | Benjamin Peterson | 2016-02-26 | 1 | -24/+12 |
| | | |||||
* | | c_encoding can never be NULL, which allows some code simplification | Benjamin Peterson | 2016-02-26 | 1 | -47/+43 |
| | | |||||
* | | Issue #26146: enhance ast.Constant error message | Victor Stinner | 2016-01-26 | 1 | -1/+3 |
| | | | | | | | | | | | | | | Mention the name of the invalid type in error message of AST validation for constants. Suggestion made by Joseph Jevnik on a review. | ||||
* | | Fix a refleak in validate_constant() | Victor Stinner | 2016-01-26 | 1 | -0/+2 |
| | | | | | | | | Issue #26146. | ||||
* | | Add ast.Constant | Victor Stinner | 2016-01-25 | 1 | -0/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26146: Add a new kind of AST node: ast.Constant. It can be used by external AST optimizers, but the compiler does not emit directly such node. An optimizer can replace the following AST nodes with ast.Constant: * ast.NameConstant: None, False, True * ast.Num: int, float, complex * ast.Str: str * ast.Bytes: bytes * ast.Tuple if items are constants too: tuple * frozenset Update code to accept ast.Constant instead of ast.Num and/or ast.Str: * compiler * docstrings * ast.literal_eval() * Tools/parser/unparse.py | ||||
* | | Fix two instances of wrong indentation. | Georg Brandl | 2016-01-18 | 1 | -2/+2 |
| | | |||||
* | | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -7/+3 |
|\ \ | |/ | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
| * | Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when | Victor Stinner | 2015-11-06 | 1 | -6/+3 |
| | | | | | | | | compiling AST from Python objects. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 |
| | | |||||
* | | Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when | Victor Stinner | 2015-11-06 | 1 | -6/+3 |
| | | | | | | | | compiling AST from Python objects. | ||||
* | | One more typo in a comment | Martin Panter | 2015-10-07 | 1 | -1/+1 |
| | | |||||
* | | merge 3.5 (#25131) | Benjamin Peterson | 2015-09-26 | 1 | -4/+10 |
|\ \ | |/ | |||||
| * | make opening brace of container literals and comprehensions correspond to ↵ | Benjamin Peterson | 2015-09-26 | 1 | -4/+10 |
| | | | | | | | | the line number and col offset of the AST node (closes #25131) | ||||
* | | Fixed error creation if the problem is an empty expression in an f-string: ↵ | Eric V. Smith | 2015-09-24 | 1 | -6/+5 |
| | | | | | | | | use ast_error instead of PyErr_SetString. | ||||
* | | Move f-string compilation of the expression earlier, before the conversion ↵ | Eric V. Smith | 2015-09-23 | 1 | -15/+51 |
| | | | | | | | | character and format_spec are checked. This allows for error messages that more closely match what a user would expect. | ||||
* | | Issue #24779: Remove unused rawmode parameter to unicode_decode. | Eric V. Smith | 2015-09-21 | 1 | -6/+3 |
| | | |||||
* | | Issue #24965: Implement PEP 498 "Literal String Interpolation". ↵ | Eric V. Smith | 2015-09-19 | 1 | -56/+929 |
| | | | | | | | | Documentation is still needed, I'll open an issue for that. | ||||
* | | Fix ast_for_atom() | Victor Stinner | 2015-09-03 | 1 | -0/+1 |
| | | | | | | | | | | Clear PyObject_Str() exception if it failed, ast_error() should not be called with an exception set. | ||||
* | | Merge 3.5 (issue #24975) | Yury Selivanov | 2015-09-02 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #24975: Fix AST compilation for PEP 448 syntax. | Yury Selivanov | 2015-09-01 | 1 | -2/+4 |
| | | |||||
* | | Fix a trivial typo. | Eric V. Smith | 2015-08-21 | 1 | -1/+1 |
| | | |||||
* | | Issue #9232: Support trailing commas in function declarations. | Robert Collins | 2015-08-11 | 1 | -9/+14 |
|/ | | | | | | For example, "def f(*, a = 3,): pass" is now legal. Patch from Mark Dickinson. | ||||
* | Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'. | Yury Selivanov | 2015-08-05 | 1 | -33/+32 |
| | |||||
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -21/+153 |
| | |||||
* | PEP 448: additional unpacking generalizations (closes #2292) | Benjamin Peterson | 2015-05-06 | 1 | -114/+222 |
| | | | | Patch by Neil Girdhar. | ||||
* | Initialize variables to prevent GCC warnings | Victor Stinner | 2015-03-18 | 1 | -2/+4 |
| |