Barney Gale <barney.g...@gmail.com> added the comment:
Agree with the previous analysis. Just noting that: >>> nturl2path.pathname2url('\\\\host\\share\\test.py') '////host/share/test.py' So four slashes are produced by the urllib code, whereas pathlib only produces two. According to wikipedia, both the two- and four-slash variants are in active usage. As we can see within Python itself! :P ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46654> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com