• Yury Selivanov's avatar
    Issue #24619: Simplify async/await tokenization. · 96ec934e
    Yury Selivanov yazdı
    This commit simplifies async/await tokenization in tokenizer.c,
    tokenize.py & lib2to3/tokenize.py.  Previous solution was to keep
    a stack of async-def & def blocks, whereas the new approach is just
    to remember position of the outermost async-def block.
    
    This change won't bring any parsing performance improvements, but
    it makes the code much easier to read and validate.
    96ec934e
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...