black/blib2to3
Christian Heimes 642f240253 Remove grammar pickles from git (#225)
There is no need to keep the pickled grammar files in git. PR #203 will
move them into a user-specific cache directory any way.

See: https://github.com/ambv/black/issues/192
Signed-off-by: Christian Heimes <christian@python.org>
2018-05-18 16:59:05 -04:00
..
pgen2 Remove unnecessary shebang lines (#189) 2018-05-04 13:52:17 -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 Put the PSF license in blib2to3/ to mark that code. (#162) 2018-04-23 14:19:24 -07:00
PatternGrammar.txt Initial commit 2018-03-14 12:55:32 -07:00
pygram.py Remove nonsensical grammar from blib2to3 2018-04-23 14:24:14 -07:00
pygram.pyi Automatic detection of deprecated Python 2 forms of print and exec 2018-03-22 23:19:23 -07:00
pytree.py Initial commit 2018-03-14 12:55:32 -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