消息 [323292]
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:35 | The Compiler | 修改 | recipients:
+ The Compiler, orsenthil, Howie Benefiel |
| 2018-08-08 16:02:35 | The Compiler | 修改 | messageid: <1533744155.42.0.56676864532.issue34360@psf.upfronthosting.co.za> |
| 2018-08-08 16:02:35 | The Compiler | 链接 | issue34360 messages |
| 2018-08-08 16:02:35 | The Compiler | 创建 | |
|