This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barneygale
Recipients barneygale, eryksun, ikelos
Date 2022-02-06.02:47:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644115645.49.0.906767869518.issue46654@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2022-02-06 02:47:25barneygalesetrecipients: + barneygale, ikelos, eryksun
2022-02-06 02:47:25barneygalesetmessageid: <1644115645.49.0.906767869518.issue46654@roundup.psfhosted.org>
2022-02-06 02:47:25barneygalelinkissue46654 messages
2022-02-06 02:47:25barneygalecreate