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

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