cpython/Lib/lib2to3
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
..
fixes fix instances of consecutive articles (closes #23221) 2015-01-13 09:17:24 -05:00
pgen2 Issue #24619: Simplify async/await tokenization. 2015-07-23 15:01:58 +03:00
tests Issue #24619: Simplify async/await tokenization. 2015-07-23 15:01:58 +03:00
Grammar.txt PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
PatternGrammar.txt
__init__.py
__main__.py
btm_matcher.py
btm_utils.py
fixer_base.py
fixer_util.py Issue #22823: Use set literals in lib2to3. 2014-12-13 21:50:49 +02:00
main.py Issue #22173: Update lib2to3 tests to use unittest test discovery. 2014-10-29 12:24:59 -05:00
patcomp.py Issue #22823: Use set literals in lib2to3. 2014-12-13 21:50:49 +02:00
pygram.py
pytree.py Issue #21408: The default __ne__() now returns NotImplemented if __eq__() 2015-01-26 09:57:07 +02:00
refactor.py Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers. 2015-05-13 13:39:51 +03:00