[New-bugs-announce] [issue44375] urllib.parse.urlparse is not parsing the url properly

Neethu report at bugs.python.org
Thu Jun 10 07:29:34 EDT 2021


New submission from Neethu <narayanan.neethu at gmail.com>:

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

----------
messages: 395518
nosy: neethun
priority: normal
severity: normal
status: open
title: urllib.parse.urlparse is not parsing the url properly
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44375>
_______________________________________


More information about the New-bugs-announce mailing list