[Python-checkins] [python/cpython] 1fc1f8: bpo-25803: Avoid incorrect errors raised by Path.m...

GitHub noreply at github.com
Fri Mar 24 15:46:47 EDT 2017


  Branch: refs/heads/3.5
  Home:   https://github.com/python/cpython
  Commit: 1fc1f8d7f737f80a1ee5ea37b9781c0a790102b2
      https://github.com/python/cpython/commit/1fc1f8d7f737f80a1ee5ea37b9781c0a790102b2
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-03-24 (Fri, 24 Mar 2017)

  Changed paths:
    M Lib/pathlib.py
    M Lib/test/test_pathlib.py
    M Misc/NEWS

  Log Message:
  -----------
  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)




More information about the Python-checkins mailing list