➜

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.

作者 The Compiler
收信人 Howie Benefiel, The Compiler, orsenthil
日期 2018-08-08.16:02:35
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1533744155.42.0.56676864532.issue34360@psf.upfronthosting.co.za>
In-reply-to
内容
Since bpo-29651, the urllib.parse docs say:

> Unmatched square brackets in the netloc attribute will raise a ValueError.

However, when there are at least one [ and ], but they don't match, there's somewhat inconsistent behavior:

>>> urllib.parse.urlparse('http://[::1]]').hostname
'::1'
>>> urllib.parse.urlparse('http://[[::1]').hostname
'[::1'
历史
日期 用户 动作 参数
2018-08-08 16:02:35The Compiler修改recipients: + The Compiler, orsenthil, Howie Benefiel
2018-08-08 16:02:35The Compiler修改messageid: <1533744155.42.0.56676864532.issue34360@psf.upfronthosting.co.za>
2018-08-08 16:02:35The Compiler链接issue34360 messages
2018-08-08 16:02:35The Compiler创建