0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 01:16:51 +01:00
cpython/Parser
INADA Naoki 4c78c527d2 bpo-29622: Make AST constructor to accept less than enough number of positional arguments (GH-249)
bpo-29463 added optional "docstring" field to 4 AST types.
While it is optional, it breaks backward compatibility because AST constructor
requires number of positional argument is same to number of fields.

AST types accepts empty arguments, and incomplete keyword arguments.
But it's not big problem because field can be filled after creation, and checked when compiling.
So stop requiring complete set of fields for positional arguments too.
2017-02-24 02:48:17 +09:00
..
acceler.c
asdl_c.py bpo-29622: Make AST constructor to accept less than enough number of positional arguments (GH-249) 2017-02-24 02:48:17 +09:00
asdl.py
bitset.c
firstsets.c
grammar1.c
grammar.c properly free memory in pgen 2016-09-18 18:00:25 -07:00
listnode.c
metagrammar.c
myreadline.c Issue #28333: Fixes off-by-one error that was adding an extra space. 2016-10-25 11:51:54 -07:00
node.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
parser.c Issue #26130: Remove redundant variable 's' from Parser/parser.c 2016-03-28 00:45:28 +03:00
parser.h
parsetok_pgen.c
parsetok.c replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
pgen.c properly free memory in pgen 2016-09-18 18:00:25 -07:00
pgenmain.c properly free memory in pgen 2016-09-18 18:00:25 -07:00
printgrammar.c
Python.asdl bpo-29463: Add docstring field to some AST nodes. (#46) 2017-02-22 16:31:59 +01:00
tokenizer_pgen.c
tokenizer.c Issue #28489: Merge from 3.6 2017-02-05 04:33:11 +03:00
tokenizer.h