306 Commits (9776b0636ae39668d3ce1c006d4be01dad01bf9f)

Author SHA1 Message Date
Guido van Rossum 495da29225 bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086) 7 years ago
Serhiy Storchaka d8b3a98c90
bpo-36187: Remove NamedStore. (GH-12167) 7 years ago
Stéphane Wirtel 3ad9167305 bpo-36052: Raise a SyntaxError when assigning a value to __debug__ with := (GH-11958) 7 years ago
Pablo Galindo 46a97920fe
bpo-36049: Fix compiler warning in Python/ast.c (GH-11949) 7 years ago
Guido van Rossum 4b250fc1da
bpo-35766 follow-up: Add an error check to new_type_comment() (#11766) 7 years ago
Pablo Galindo 164686f33a
Fix compiler warning about non initialised variable (GH-11806) 7 years ago
Ivan Levkivskyi 181835d5a9
Fix compiler warnings about end_col_offset and end_lineno (GH-11735) 7 years ago
Guido van Rossum d2b4c19d53
bpo-35879: Fix type comment leaks (GH-11728) 7 years ago
Guido van Rossum dcfcd146f8 bpo-35766: Merge typed_ast back into CPython (GH-11645) 7 years ago
Ivan Levkivskyi 62c35a8a8f
bpo-35814: Allow same r.h.s. in annotated assignments as in normal ones (GH-11667) 7 years ago
Emily Morehouse 8f59ee01be
bpo-35224: PEP 572 Implementation (#10497) 7 years ago
Ivan Levkivskyi 9932a22897
bpo-33416: Add end positions to Python AST (GH-11605) 7 years ago
Anthony Sottile 995d9b9297 bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021) 7 years ago
Serhiy Storchaka 58159ef856
bpo-35494: Improve syntax error messages for unbalanced parentheses in f-string. (GH-11161) 7 years ago
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) 7 years ago
Benjamin Peterson d13e59c1b5 Make sure the line comes from the same node as the col offset. (GH-9189) 7 years ago
guoci 90fc8980bb closes bpo-31902: Fix the col_offset attribute for ast.Async* nodes to point to the "async" keyword. (GH-4175) 7 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) 8 years ago
Łukasz Langa e7c566caf1 bpo-30465: Fix lineno and col_offset in fstring AST nodes (#1800) 8 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