black/blib2to3
Łukasz Langa e1ef57a29e Move INDENT value to the postponed prefix
This makes blib2to3's tree output valid again (which was broken by the previous
fiddling with INDENT and DEDENT nodes).

Fixes #334
2018-06-19 20:44:47 -07:00
..
pgen2 Move INDENT value to the postponed prefix 2018-06-19 20:44:47 -07:00
__init__.py Initial commit 2018-03-14 12:55:32 -07:00
__init__.pyi Initial commit 2018-03-14 12:55:32 -07:00
Grammar.txt Parse complex expressions in parameters after * and ** 2018-04-17 20:34:02 +01:00
LICENSE Link to GitHub + HTTPS + typos (#303) 2018-06-06 09:50:08 -07:00
PatternGrammar.txt Initial commit 2018-03-14 12:55:32 -07:00
pygram.py Store grammar pickle caches in CACHE_DIR 2018-05-19 14:06:27 -07:00
pygram.pyi Store grammar pickle caches in CACHE_DIR 2018-05-19 14:06:27 -07:00
pytree.py Don't mark subtrees as changed that were already marked. 2018-06-09 19:49:20 -07:00
pytree.pyi Clean up typing ignores, fix build 2018-03-15 23:26:56 -07:00
README Add support for all valid string literals (#115) 2018-04-09 14:36:40 -07:00

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`
- support all types of string literals
- better ability to debug (better reprs)
- INDENT and DEDENT don't hold whitespace and comment prefixes
- ability to Cythonize