File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ or on combining URL components into a URL string.
118118 an invalid port is specified in the URL. See section
119119 :ref: `urlparse-result-object ` for more information on the result object.
120120
121+ Unmatched square brackets in the :attr: `netloc ` attribute will raise a
122+ :exc: `ValueError `.
123+
121124 .. versionchanged :: 3.2
122125 Added IPv6 URL parsing capabilities.
123126
@@ -236,6 +239,9 @@ or on combining URL components into a URL string.
236239 an invalid port is specified in the URL. See section
237240 :ref: `urlparse-result-object ` for more information on the result object.
238241
242+ Unmatched square brackets in the :attr: `netloc ` attribute will raise a
243+ :exc: `ValueError `.
244+
239245 .. versionchanged :: 3.6
240246 Out-of-range port numbers now raise :exc: `ValueError `, instead of
241247 returning :const: `None `.
You can’t perform that action at this time.
0 commit comments