330 Commits (793cb85437299a3da3d74fe65480d720af330cbb)

Author SHA1 Message Date
Greg Price 3a4f66707e Cut disused recode_encoding logic in _PyBytes_DecodeEscape. (GH-16013) 6 years ago
Dino Viehland 8d88e8c662 bpo-38138: Fix memory leak introduced by interned strings (GH-16053) 6 years ago
Dino Viehland 5b172c27f7 bpo-38113: Update Python/ast.c to PEP-384 (GH-15975) 6 years ago
Min ho Kim 39d87b5471 Fix typos mostly in comments, docs and test names (GH-15209) 6 years ago
Gregory P. Smith b4be87a04a bpo-32912: Revert SyntaxWarning on invalid escape sequences. (GH-15195) 7 years ago
Min ho Kim c4cacc8c5e Fix typos in comments, docs and test names (#15018) 7 years ago
Pablo Galindo cd6e83b481 bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes (GH-14778) 7 years ago
Carl Friedrich Bolz-Tereick 110a47c4f4 bpo-18374: fix wrong col_offset of some ast.BinOp instances (GH-14607) 7 years ago
David Carlier 9bbece9d7a remove dead code (GH-14104) 7 years ago
Victor Stinner 37d66d7d4b
bpo-37253: Add _PyCompilerFlags_INIT macro (GH-14018) 7 years ago
Pablo Galindo 8565f6b6db
bpo-35814: Allow unpacking in r.h.s of annotated assignment expressions (GH-13760) 7 years ago
Pablo Galindo 2f58a84104
bpo-37112: Allow compile to work on AST with positional only arguments with defaults (GH-13697) 7 years ago
Eric V. Smith f83d1dbd3b
bpo-37070: Cleanup fstring debug handling (GH-13607) 7 years ago
Guido van Rossum 77f0ed7a42
bpo-37072: Fix crash in PyAST_FromNodeObject() when flags is NULL (#13634) 7 years ago
Eric V. Smith 6f6ff8a565
bpo-37050: Remove expr_text from FormattedValue ast node, use Constant node instead (GH-13597) 7 years ago
Michael J. Sullivan 933e1509ec bpo-36878: Track extra text added to 'type: ignore' in the AST (GH-13479) 7 years ago
David Carlier 27ee0f8551 Fix couple of dead code paths (GH-7418) 7 years ago
Pablo Galindo 26f55c29f2
bpo-36817: Do not decrement reference for expr_text on fstring = parsing failure (GH-13256) 7 years ago
Pablo Galindo 5833e94d86
bpo-36817: Fix reference leak for expr_text in f-string = parsing (GH-13249) 7 years ago
Eric V. Smith 9a4135e939
bpo-36817: Add f-string debugging using '='. (GH-13123) 7 years ago
Pablo Galindo 8c77b8cb91
bpo-36540: PEP 570 -- Implementation (GH-12701) 7 years ago
Brad Larsen a4d7836239 bpo-36495: Fix two out-of-bounds array reads (GH-12641) 7 years ago
Pablo Galindo 0c9258a6d2
bpo-36332: Allow compile() to handle AST objects with assignment expressions (GH-12398) 7 years ago
Guido van Rossum 10f8ce6688 bpo-36280: Add Constant.kind field (GH-12295) 7 years ago
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