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 neethun
Recipients neethun
Date 2021-06-10.11:29:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623324574.38.0.821681616785.issue44375@roundup.psfhosted.org>
In-reply-to
Content
urllib.parse.urlparse is not parsing urls without scheme and with port number properly.

from urllib.parse import urlparse
print(urlparse("www.cwi.nl:80"))

ParseResult(scheme='www.cwi.nl', netloc='', path='80', params='', query='', fragment='')

Python version : 3.9.5
History
Date User Action Args
2021-06-10 11:29:34neethunsetrecipients: + neethun
2021-06-10 11:29:34neethunsetmessageid: <1623324574.38.0.821681616785.issue44375@roundup.psfhosted.org>
2021-06-10 11:29:34neethunlinkissue44375 messages
2021-06-10 11:29:34neethuncreate