Message323292
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' |
|
Date |
User |
Action |
Args |
2018-08-08 16:02:35 | The Compiler | set | recipients:
+ The Compiler, orsenthil, Howie Benefiel |
2018-08-08 16:02:35 | The Compiler | set | messageid: <1533744155.42.0.56676864532.issue34360@psf.upfronthosting.co.za> |
2018-08-08 16:02:35 | The Compiler | link | issue34360 messages |
2018-08-08 16:02:35 | The Compiler | create | |
|