Thomas Jollans <t...@tjol.eu> added the comment:

RFC 2396 explicitly excludes the use of [ and ] in URLs. RFC 2732 
<https://www.ietf.org/rfc/rfc2732.txt> defines the syntax for IPv6 URLs, and 
allows [ and ] ONLY in the host part.

So I'd say that the behaviour is arguably correct (if somewhat unfortunate)

----------
nosy: +tjollans

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33342>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to