[New-bugs-announce] [issue22759] pathlib: Path.exists broken

Hristo Venev report at bugs.python.org
Wed Oct 29 16:30:32 CET 2014


New submission from Hristo Venev:

$ touch a
c: stat("a/x", ...) -> errno=ENOTDIR
$ python
>>> pathlib.Path('a/x').exists()

This should return False and not throw an exception.

Patch not tested.

----------
files: py.patch
keywords: patch
messages: 230214
nosy: h.venev
priority: normal
severity: normal
status: open
title: pathlib: Path.exists broken
Added file: http://bugs.python.org/file37066/py.patch

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


More information about the New-bugs-announce mailing list