]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Move tokenizer config onto grammar, rename flag
authorBenjamin Woodruff <github@benjam.info>
Wed, 8 May 2019 20:38:38 +0000 (16:38 -0400)
committerŁukasz Langa <lukasz@langa.pl>
Thu, 9 May 2019 15:59:29 +0000 (17:59 +0200)
commit448885b256ca1741fda7c4ef17f80f750ea614c0
tree1aeaf388018e3c4eff1d4d1e273896e0ce0f2567
parentf8617f975d56e81cfb4070ce65584f7b29a77e7a
Move tokenizer config onto grammar, rename flag

Based on the feedback in
https://github.com/python/black/pull/845#issuecomment-490622711

- Remove TokenizerConfig, and add a field to Grammar instead.
- Pass the Grammar to the tokenizer.
- Rename `ASYNC_IS_RESERVED_KEYWORD` to `ASYNC_KEYWORDS` and
  `ASYNC_IS_VALID_IDENTIFIER` to `ASYNC_IDENTIFIERS`.
black.py
blib2to3/pgen2/driver.py
blib2to3/pgen2/driver.pyi
blib2to3/pgen2/grammar.py
blib2to3/pgen2/grammar.pyi
blib2to3/pgen2/tokenize.py
blib2to3/pgen2/tokenize.pyi
blib2to3/pygram.py
blib2to3/pygram.pyi
tests/data/python37.py