black/blib2to3
Christian Heimes adf4ebd2d9 Remove unnecessary shebang lines (#189)
Since black.py is not marked as executable, the shebang in black.py serves
no purpose. black should be invoked through its entry point any way.

token.py is an internal module without a __name__ == '__main__' block or
other executable code. It contains just list of constants and small
helper functions.

Signed-off-by: Christian Heimes <christian@python.org>
2018-05-04 13:52:17 -07: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
Grammar3.6.4.final.0.pickle Update 3.6.4 grammar pickle 2018-04-18 17:41:49 -07:00
Grammar3.6.5.final.0.pickle Parse complex expressions in parameters after * and ** 2018-04-17 20:34:02 +01:00
Grammar3.8.0.alpha.0.pickle Store pickles for 3.8.0a0 2018-04-18 22:17:00 -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
PatternGrammar3.6.4.final.0.pickle Initial commit 2018-03-14 12:55:32 -07:00
PatternGrammar3.6.5.final.0.pickle 3.6.5 grammar pickles 2018-04-04 09:55:56 -07:00
PatternGrammar3.8.0.alpha.0.pickle Store pickles for 3.8.0a0 2018-04-18 22:17:00 -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