New submission from Erik Aronesty <earone...@gmail.com>: When strict is "false", pathlib should not fail if the network share is inaccessible. It should, as documented, catch the exception and continue with as much of the path as it has.
>>> pathlib.Path("v:").resolve() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\erik\AppData\Local\Programs\Python\Python36\lib\pathlib.py", line 1119, in resolve s = self._flavour.resolve(self, strict=strict) File "C:\Users\erik\AppData\Local\Programs\Python\Python36\lib\pathlib.py", line 193, in resolve s = self._ext_to_normal(_getfinalpathname(s)) OSError: [WinError 1] Incorrect function: 'v:' ---------- messages: 304767 nosy: earonesty2 priority: normal severity: normal status: open title: pathlib: "Incorrect function" during resolve() versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31842> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com