-
INADA Naoki yazdı
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.
4c78c527
Adı |
Son kayıt (commit)
|
Son güncelleme |
---|---|---|
.. | ||
Python.asdl | ||
acceler.c | ||
asdl.py | ||
asdl_c.py | ||
bitset.c | ||
firstsets.c | ||
grammar.c | ||
grammar1.c | ||
listnode.c | ||
metagrammar.c | ||
myreadline.c | ||
node.c | ||
parser.c | ||
parser.h | ||
parsetok.c | ||
parsetok_pgen.c | ||
pgen.c | ||
pgenmain.c | ||
printgrammar.c | ||
tokenizer.c | ||
tokenizer.h | ||
tokenizer_pgen.c |