From: Ɓukasz Langa Date: Thu, 14 Mar 2019 15:40:31 +0000 (+0100) Subject: Mention atomic cache creation in the change log X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/ee7151e50f812a368faff0be910e6db26e282680?hp=416821947ab11f490ec4c8953a155b205bc9203f Mention atomic cache creation in the change log --- diff --git a/README.md b/README.md index 71bc7e7..c34fc29 100644 --- a/README.md +++ b/README.md @@ -963,6 +963,9 @@ More details can be found in [CONTRIBUTING](CONTRIBUTING.md). * *Black* now properly formats multiple files in parallel on Windows (#632) +* *Black* now creates cache files atomically which allows it to be used + in parallel pipelines (like `xargs -P8`) (#673) + * `blackd` now supports CORS (#622) ### 18.9b0 diff --git a/blib2to3/pgen2/grammar.py b/blib2to3/pgen2/grammar.py index b20b923..3ccf38f 100644 --- a/blib2to3/pgen2/grammar.py +++ b/blib2to3/pgen2/grammar.py @@ -13,7 +13,7 @@ fallback token code OP, but the parser needs the actual token code. """ # Python imports -import os.path +import os import pickle import tempfile