252 Commits (be9079ae683de8b5046e4f5329d6c19b032fecbe)

Author SHA1 Message Date
Yury Selivanov 1a9d687a49 Issue #26182: Fix ia refleak in code that raises DeprecationWarning. 9 years ago
Eric V. Smith 9b88fdf4f0 Fixed issue #28633: segfault when concatenating bytes literal and f-string. 9 years ago
Eric V. Smith 5646648678 Issue 28128: Print out better error/warning messages for invalid string escapes. Backport to 3.6. 9 years ago
Eric V. Smith 42454af094 Issue 28128: Print out better error/warning messages for invalid string escapes. 9 years ago
Benjamin Peterson 286987bbac delete dead code 9 years ago
Yury Selivanov 8987c9d219 Issue #26182: Raise DeprecationWarning for improper use of async/await keywords 9 years ago
Eric V. Smith 09835dcdbb Make an f-string error message more exact and consistent. 10 years ago
Benjamin Peterson 4ba5c88a3f just start with an int rather than casting 10 years ago
Eric V. Smith 451d0e38fc Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces. 10 years ago
Brett Cannon a721abac29 Issue #26331: Implement the parsing part of PEP 515. 10 years ago
Yury Selivanov 52c4e7cc84 Issue #28008: Implement PEP 530 -- asynchronous comprehensions. 10 years ago
Yury Selivanov f8cb8a16a3 Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 10 years ago
Benjamin Peterson 2f8bfef158 replace PY_SIZE_MAX with SIZE_MAX 10 years ago
Eric V. Smith 6a4efce7a5 Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a 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. 10 years ago
Martin Panter 69332c1a64 Fix spelling and grammar in documentation and code comments 10 years ago
Serhiy Storchaka fbd1523525 Issue #27352: Correct the validation of the ImportFrom AST node and simplify 10 years ago
Berker Peksag 094c9c921c Issue #23275: Allow () = iterable assignment syntax 10 years ago
Benjamin Peterson 9d66d4af06 remove unused c_encoding struct member 10 years ago
Benjamin Peterson 768921cf33 rewrite parsestr() so it's comprehensible; remove dead code 10 years ago
Benjamin Peterson 202803a0c0 c_encoding can never be NULL, which allows some code simplification 10 years ago
Victor Stinner be59d1489b Issue #26146: enhance ast.Constant error message 10 years ago
Victor Stinner 726f6902ce Fix a refleak in validate_constant() 10 years ago
Victor Stinner f2c1aa1661 Add ast.Constant 10 years ago
Georg Brandl 5c60ea3fa1 Fix two instances of wrong indentation. 10 years ago
Serhiy Storchaka 2d06e84455 Issue #25923: Added the const qualifier to static constant arrays. 10 years ago
Victor Stinner f9827ea618 Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when 10 years ago
Victor Stinner c106c68aeb Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when 10 years ago
Martin Panter c2432f6edb One more typo in a comment 10 years ago
Benjamin Peterson 58b53953f8 make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node (closes #25131) 10 years ago
Eric V. Smith 1e5fcc3dea Fixed error creation if the problem is an empty expression in an f-string: use ast_error instead of PyErr_SetString. 10 years ago
Eric V. Smith 1d44c41b0c Move f-string compilation of the expression earlier, before the conversion character and format_spec are checked. This allows for error messages that more closely match what a user would expect. 10 years ago
Eric V. Smith 5567f89c6f Issue #24779: Remove unused rawmode parameter to unicode_decode. 10 years ago
Eric V. Smith 235a6f0984 Issue #24965: Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that. 10 years ago
Victor Stinner 00723e0353 Fix ast_for_atom() 11 years ago
Yury Selivanov b3d531348c Issue #24975: Fix AST compilation for PEP 448 syntax. 11 years ago
Eric V. Smith 163b5c668d Fix a trivial typo. 11 years ago
Robert Collins df395991f6 Issue #9232: Support trailing commas in function declarations. 11 years ago
Yury Selivanov 14acf5f41d Issue #24791: Fix grammar regression for call syntax: 'g(*a or b)'. 11 years ago
Yury Selivanov 7544508f02 PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 11 years ago
Benjamin Peterson 025e9ebd0a PEP 448: additional unpacking generalizations (closes #2292) 11 years ago
Victor Stinner 0c39b1b970 Initialize variables to prevent GCC warnings 11 years ago
Benjamin Peterson 7a66fc22ad revert lineno and col_offset changes from #16795 (closes #21295) 11 years ago
Benjamin Peterson d51374ed78 PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 12 years ago
Benjamin Peterson 0714b8b6ab set line and column numbers for keyword-only arg nodes (closes #20619) 12 years ago
Benjamin Peterson e84fde981d set line and column numbers for keyword-only arg nodes (closes #20619) 12 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 12 years ago
Antoine Pitrou d01d396e7f Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py". 12 years ago
Victor Stinner 14e461d5b9 Close #11619: The parser and the import machinery do not encode Unicode 13 years ago
Christian Heimes 72f562f719 Fix potential NULL pointer dereferencing in ast module 13 years ago
Victor Stinner 0fae8f9083 Issue #18408: Fix ast_for_atom(), PyErr_Fetch(&type, &value, &tback) can set value to NULL 13 years ago