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 @@ -118,6 +118,9 @@ or on combining URL components into a URL string.
118
118
an invalid port is specified in the URL. See section
119
119
:ref: `urlparse-result-object ` for more information on the result object.
120
120
121
+ Unmatched square brackets in the :attr: `netloc ` attribute will raise a
122
+ :exc: `ValueError `.
123
+
121
124
.. versionchanged :: 3.2
122
125
Added IPv6 URL parsing capabilities.
123
126
@@ -236,6 +239,9 @@ or on combining URL components into a URL string.
236
239
an invalid port is specified in the URL. See section
237
240
:ref: `urlparse-result-object ` for more information on the result object.
238
241
242
+ Unmatched square brackets in the :attr: `netloc ` attribute will raise a
243
+ :exc: `ValueError `.
244
+
239
245
.. versionchanged :: 3.6
240
246
Out-of-range port numbers now raise :exc: `ValueError `, instead of
241
247
returning :const: `None `.
You can’t perform that action at this time.
0 commit comments