]> granicus.if.org Git - python/commit
bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True)… (#806)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 24 Mar 2017 19:46:25 +0000 (21:46 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Mar 2017 19:46:25 +0000 (21:46 +0200)
commit8c8785b2f8e4048cef350f89c686266f4519b67c
tree3e66a194a07986efb4cf5d946415a2b02b6ec5c3
parentcc3331fec8b7a61c3f06c097eac85bfa38490758
bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True)… (#806)

when the OS gives priority to errors such as EACCES over EEXIST.

(cherry picked from commit af7b9ec5c855366feef4c67dc492d64b3baf84ca)
Lib/pathlib.py
Lib/test/test_pathlib.py
Misc/NEWS