[issue25803] pathlib.Path('/').mkdir() raises wrong error type
Daniel Lepage
report at bugs.python.org
Fri Dec 4 22:48:12 EST 2015
New submission from Daniel Lepage:
pathlib.Path('/').mkdir() raises an IsADirectoryError instead of a FileExistsError.
----------
components: Library (Lib)
messages: 255916
nosy: Daniel Lepage
priority: normal
severity: normal
status: open
title: pathlib.Path('/').mkdir() raises wrong error type
type: behavior
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25803>
_______________________________________
More information about the Python-bugs-list
mailing list