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 martin.panter
Recipients PaulMcMillan, benjamin.peterson, christian.heimes, martin.panter, orsenthil, pitrou, python-dev, soilandreyes, vstinner, yaaboukir, ztane
Date 2018-07-30.13:15:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Issue 34276 was opened about a similar case for “file:” URLs. I believe both “file:” scheme and no-scheme cases are a regression and could be fixed by adding another pair of slashes (an empty “netloc” part):

>>> urlparse("////")  # No change
ParseResult(scheme='', netloc='', path='//', params='', query='', fragment='')
>>> urlunparse(_)  # Knows to escape slashes with another double-slash
Date User Action Args
2018-07-30 13:15:47martin.pantersetrecipients: + martin.panter, orsenthil, pitrou, vstinner, christian.heimes, benjamin.peterson, python-dev, PaulMcMillan, ztane, soilandreyes, yaaboukir
2018-07-30 13:15:46martin.pantersetmessageid: <>
2018-07-30 13:15:46martin.panterlinkissue23505 messages
2018-07-30 13:15:46martin.pantercreate