• INADA Naoki's avatar
    bpo-29622: Make AST constructor to accept less than enough number of positional arguments (GH-249) · 4c78c527
    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 Loading commit data...
acceler.c Loading commit data...
asdl.py Loading commit data...
asdl_c.py Loading commit data...
bitset.c Loading commit data...
firstsets.c Loading commit data...
grammar.c Loading commit data...
grammar1.c Loading commit data...
listnode.c Loading commit data...
metagrammar.c Loading commit data...
myreadline.c Loading commit data...
node.c Loading commit data...
parser.c Loading commit data...
parser.h Loading commit data...
parsetok.c Loading commit data...
parsetok_pgen.c Loading commit data...
pgen.c Loading commit data...
pgenmain.c Loading commit data...
printgrammar.c Loading commit data...
tokenizer.c Loading commit data...
tokenizer.h Loading commit data...
tokenizer_pgen.c Loading commit data...