[docs] possible bug in urllib.parse

xancorreu xancorreu at gmail.com
Tue Jan 1 16:00:59 CET 2013


Hi,

I found that:
urllib.parse.urlparse('localhost:8080/a')
ParseResult(scheme='localhost', netloc='', path='8080/a', params='', 
query='', fragment='')

is it a doc bug or software bug? Really, in 'localhost:8080/a' the 
scheme=None, netloc='localhost:8080' and path='/a'. So I suspect it's 
really a software bug. In that case, can someone report that. Otherwise, 
please forgive me ;-)

Regards,
Xan


More information about the docs mailing list