[issue35692] pathlib.Path.exists() on non-existent drive raises WinError instead of returning False

Antoine Pitrou report at bugs.python.org
Tue Jan 15 13:52:55 EST 2019


Antoine Pitrou <pitrou at free.fr> added the comment:

I think exists() should simply return False here.  There's no reason a non-existing drive should fail differently than a non-existing parent directory.

----------
stage:  -> needs patch
versions: +Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35692>
_______________________________________


More information about the Python-bugs-list mailing list