File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,9 @@ or on combining URL components into a URL string.
121
121
an invalid port is specified in the URL. See section
122
122
:ref: `urlparse-result-object ` for more information on the result object.
123
123
124
+ Unmatched square brackets in the :attr: `netloc ` attribute will raise a
125
+ :exc: `ValueError `.
126
+
124
127
.. versionchanged :: 3.2
125
128
Added IPv6 URL parsing capabilities.
126
129
@@ -239,6 +242,9 @@ or on combining URL components into a URL string.
239
242
an invalid port is specified in the URL. See section
240
243
:ref: `urlparse-result-object ` for more information on the result object.
241
244
245
+ Unmatched square brackets in the :attr: `netloc ` attribute will raise a
246
+ :exc: `ValueError `.
247
+
242
248
.. versionchanged :: 3.6
243
249
Out-of-range port numbers now raise :exc: `ValueError `, instead of
244
250
returning :const: `None `.
You can’t perform that action at this time.
0 commit comments