cpython/Lib/lib2to3/pgen2
Yury Selivanov 96ec934e75 Issue #24619: Simplify async/await tokenization.
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.
2015-07-23 15:01:58 +03:00
..
__init__.py
conv.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
driver.py Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
grammar.py add matrix multiplication operator support to 2to3 2014-04-10 00:12:47 -04:00
literals.py
parse.py Merged revisions 67428 via svnmerge from 2008-11-28 23:01:28 +00:00
pgen.py Merged revisions 76063,76068 via svnmerge from 2009-11-02 18:33:36 +00:00
token.py PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
tokenize.py Issue #24619: Simplify async/await tokenization. 2015-07-23 15:01:58 +03:00