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 Merged revisions 88535 via svnmerge from 2011-02-24 01:41:46 +00:00
btm_matcher.py Merged revisions 85510 via svnmerge from 2010-10-14 23:03:32 +00:00
btm_utils.py Issue #16120: Use |yield from| in stdlib. 2012-10-06 17:11:45 +03:00
fixer_base.py Closes #12536: Unused logger removed from lib2to3. 2011-07-13 23:15:07 +01:00
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 Merged revisions 85510 via svnmerge from 2010-10-14 23:03:32 +00:00
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