• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1When using :func:`urllib.parse.urlsplit` and :func:`urllib.parse.urlparse` host
2parsing would not reject domain names containing square brackets (``[`` and
3``]``). Square brackets are only valid for IPv6 and IPvFuture hosts according to
4`RFC 3986 Section 3.2.2 <https://www.rfc-editor.org/rfc/rfc3986#section-3.2.2>`__.
5