[issue24231] os.makedirs('/', exist_ok=True) fails on Darwin

Ned Deily report at bugs.python.org
Mon May 18 20:16:27 CEST 2015


Ned Deily added the comment:

This appears to be a BSD-ism: I get the same result on FreeBSD 10 as with OS X 10.10.  For whatever reason, mkdir('/') returns IsADirectoryError while mkdir('/other/existing/directory') returns FileExistsError.

----------
nosy: +ned.deily
stage:  -> needs patch
versions: +Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24231>
_______________________________________


More information about the Python-bugs-list mailing list