292 Commits (f5107dfd42121ef40b13eb678705802f0ff02cf9)

Author SHA1 Message Date
Zackery Spytz 4c49da0cb7 bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. (GH-11015) 7 years ago
Serhiy Storchaka b619b09792
bpo-31241: Fix AST node position for list and generator comprehensions. (GH-10633) 7 years ago
Victor Stinner 4d73ae7761
bpo-18407: ast.c uses Py_ssize_t for asdl_seq_LEN() iterator (GH-10655) 7 years ago
Serhiy Storchaka 97f1efb606
bpo-35169: Improve error messages for forbidden assignments. (GH-10342) 7 years ago
Serhiy Storchaka 95b6acf951
bpo-34876: Change the lineno of the AST for decorated function and class. (GH-9731) 7 years ago
Serhiy Storchaka 6543912c90
bpo-32912: Replace a DeprecationWarning with a SyntaxWarning (GH-9652) 7 years ago
Serhiy Storchaka 3f22811fef
bpo-32892: Use ast.Constant instead of specific constant AST types. (GH-9445) 7 years ago
Ammar Askar 025eb98dc0 bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338) 7 years ago
Benjamin Peterson c9a71dd223
closes bpo-34641: Further restrict the LHS of keyword argument function call syntax. (GH-9212) 8 years ago
Benjamin Peterson d13e59c1b5 Make sure the line comes from the same node as the col offset. (GH-9189) 8 years ago
guoci 90fc8980bb closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the "async" keyword. (GH-4175) 8 years ago
Alexey Izbyshev 28853a249b bpo-34457: Python/ast.c: Add missing NULL check to alias_for_import_name(). (GH-8852) 8 years ago
Serhiy Storchaka 143ce5c6db
bpo-33691: Add _PyAST_GetDocString(). (GH-7236) 8 years ago
Serhiy Storchaka 73cbe7a01a
bpo-32911: Revert bpo-29463. (GH-7121) (GH-7197) 8 years ago
Jelle Zijlstra 898ff92dac fix error message in ast.c (#6776) 8 years ago
Victor Stinner fb7e7992be bpo-30465: Fix C downcast warning on Windows in ast.c (#6593) 8 years ago
Serhiy Storchaka a561862048
Don't hide unexpected errors in PyErr_WarnExplicitObject(). (#4585) 8 years ago
Serhiy Storchaka ddbce13786
bpo-32023: Disallow genexprs without parenthesis in class definitions. (#4400) 8 years ago
Serhiy Storchaka 9165f77d5f
bpo-32012: Disallow trailing comma after genexpr without parenthesis. (#4382) 8 years ago
luzpaz a5293b4ff2 Fix miscellaneous typos (#4275) 8 years ago
Serhiy Storchaka 56cb465cc9 bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (#4058) 8 years ago
Jelle Zijlstra ac317700ce bpo-30406: Make async and await proper keywords (#1669) 8 years ago
Oren Milman 7dc46d8cf5 bpo-31592: Fix an assertion failure in Python parser in case of a bad unicodedata.normalize(). (#3767) 8 years ago
Barry Warsaw b2e5794870 bpo-31338 (#3374) 9 years ago
Łukasz Langa e7c566caf1 bpo-30465: Fix lineno and col_offset in fstring AST nodes (#1800) 9 years ago
Stefan Krah f432a3234f bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157) 9 years ago
ericvsmith 11e97f2f80 bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (#2232) 9 years ago
Serhiy Storchaka 2e9cd5825c bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. (#1888) 9 years ago
Serhiy Storchaka 0cd7a3f196 bpo-29104: Fixed parsing backslashes in f-strings. (#490) 9 years ago
Serhiy Storchaka fff9a31a91 bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. (#748) 9 years ago
INADA Naoki cb41b2766d bpo-29463: Add docstring field to some AST nodes. (#46) 9 years ago
Serhiy Storchaka 5bb8b9134b Issue #18896: Python function can now have more than 255 parameters. 9 years ago
Serhiy Storchaka 4cc30ae313 Issue #28739: f-string expressions no longer accepted as docstrings and 9 years ago
Serhiy Storchaka 214678e44b Issue #12844: More than 255 arguments can now be passed to a function. 9 years ago
Serhiy Storchaka 144f77a981 Issue #28715: Added error checks for PyUnicode_AsUTF8(). 9 years ago
Serhiy Storchaka f4934ea77d Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 9 years ago
Victor Stinner f9cca365c7 Fix warn_invalid_escape_sequence() 9 years ago
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 10 years ago
Yury Selivanov 8987c9d219 Issue #26182: Raise DeprecationWarning for improper use of async/await keywords 10 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