black/blib2to3
Pablo Galindo 673327449f Support PEP 572 in while statements (#1028)
Commit d8fa8df052 added support for
parsing and formatting PEP572, but it missed the posibility to add
PEP572 syntax in while statements.
2019-09-18 12:54:40 +01:00
..
pgen2 Add support for walrus operator (#935) 2019-07-28 16:03:23 +01: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 Support PEP 572 in while statements (#1028) 2019-09-18 12:54:40 +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 [blib2to3] Fixed a typo and removed an unused import. (#848) 2019-05-26 12:10:14 +02:00
pygram.pyi Add support for walrus operator (#935) 2019-07-28 16:03:23 +01:00
pytree.py [blib2to3] Fixed a typo and removed an unused import. (#848) 2019-05-26 12:10:14 +02:00
pytree.pyi Clean up typing ignores, fix build 2018-03-15 23:26:56 -07:00
README Changes default logger used by blib2to3 Driver (#732) 2019-03-14 13:39:42 +01: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

Change Log:
- Changes default logger used by Driver