diff options
author | Matt Eaton <agnosticdev@gmail.com> | 2018-03-20 06:41:37 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2018-03-20 06:41:37 (GMT) |
commit | 2cb4661707818cfd92556e7fdf9068a993577002 (patch) | |
tree | 0c3f6933e3e5117b5289845d998da35da46f8d72 /Misc | |
parent | 7389fd935c95b4b6f094312294e703ee0de18719 (diff) | |
download | cpython-2cb4661707818cfd92556e7fdf9068a993577002.zip cpython-2cb4661707818cfd92556e7fdf9068a993577002.tar.gz cpython-2cb4661707818cfd92556e7fdf9068a993577002.tar.bz2 |
bpo-33034: Improve exception message when cast fails for {Parse,Split}Result.port (GH-6078)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-03-11-08-44-12.bpo-33034.bpb23d.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-03-11-08-44-12.bpo-33034.bpb23d.rst b/Misc/NEWS.d/next/Library/2018-03-11-08-44-12.bpo-33034.bpb23d.rst new file mode 100644 index 0000000..c81683a --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-03-11-08-44-12.bpo-33034.bpb23d.rst @@ -0,0 +1,3 @@ +Providing an explicit error message when casting the port property to anything +that is not an integer value using ``urlparse()`` and ``urlsplit()``. +Patch by Matt Eaton. |