]> 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:

Do not load incompatible cache (#875) (#1034)
authorMatt VanEseltine <vaneseltine@gmail.com>
Mon, 21 Oct 2019 09:20:13 +0000 (05:20 -0400)
committerŁukasz Langa <lukasz@langa.pl>
Mon, 21 Oct 2019 09:20:13 +0000 (11:20 +0200)
commit03766f515b908b76a488da40fec3eeffb9369af7
tree7dff8655f31abf879c43125d3664336abf67b4b5
parent000147c007787fc26e8ccb4fb9843a6f9d80affb
Do not load incompatible cache (#875) (#1034)

A black cache created in Python 3.8 throws an unhandled
ValueError in earlier versions. This is because 3.6 does
not recognize the pickle protocol used as default in 3.8.
Accordingly, this commit:

  - Fixes read_cache to return an empty cache instead.

  - Changes the pickle protocol to 4 as the highest protocol
    fully supported by black's supported Python versions.
black.py