➜

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.

作者 serhiy.storchaka
收信人 orsenthil, serhiy.storchaka
日期 2014-01-15.12:32:09
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1389789129.93.0.775761654638.issue20271@psf.upfronthosting.co.za>
In-reply-to
内容
>>> import urllib.parse
>>> p = urllib.parse.urlparse('http://[::1]spam:80')
>>> p
ParseResult(scheme='http', netloc='[::1]spam:80', path='', params='', query='', fragment='')
>>> p.hostname
'::1'
>>> p.port
80

'http://[::1]spam:80' is invalid URL, but urllib.parse.urlparse() accepts it and just ignore the spam part.
历史
日期 用户 动作 参数
2014-01-15 12:32:10serhiy.storchaka修改recipients: + serhiy.storchaka, orsenthil
2014-01-15 12:32:09serhiy.storchaka修改messageid: <1389789129.93.0.775761654638.issue20271@psf.upfronthosting.co.za>
2014-01-15 12:32:09serhiy.storchaka链接issue20271 messages
2014-01-15 12:32:09serhiy.storchaka创建