![]() This support isn't *exactly* right per PEP 3131 as the regex engine is a bit too limited for that and I didn't want to spend time on Other_ID_Start and Other_ID_Continue unless they're actually needed. Hopefully this doesn't slow it down too much. |
||
---|---|---|
.. | ||
pgen2 | ||
__init__.py | ||
__init__.pyi | ||
Grammar3.6.4.final.0.pickle | ||
Grammar3.6.5.final.0.pickle | ||
Grammar.txt | ||
PatternGrammar3.6.4.final.0.pickle | ||
PatternGrammar3.6.5.final.0.pickle | ||
PatternGrammar.txt | ||
pygram.py | ||
pygram.pyi | ||
pytree.py | ||
pytree.pyi | ||
README |
A subset of lib2to3 taken from Python 3.7.0b2. Commit hash: 9c17e3a1987004b8bcfbe423953aad84493a7984 Reasons for forking: - consistent handling of f-strings for users of Python < 3.6.2 - backport of BPO-33064 that fixes parsing files with trailing commas after *args and **kwargs - backport of GH-6143 that restores the ability to reformat legacy usage of `async` - better ability to debug (better reprs) - INDENT and DEDENT don't hold whitespace and comment prefixes - ability to Cythonize