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 <rep...@bugs.python.org> <http://bugs.python.org/issue24231> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com