]> granicus.if.org Git - python/commit
bpo-30458: Use InvalidURL instead of ValueError. (GH-13044)
authorGregory P. Smith <greg@krypto.org>
Wed, 1 May 2019 20:39:21 +0000 (16:39 -0400)
committerGitHub <noreply@github.com>
Wed, 1 May 2019 20:39:21 +0000 (16:39 -0400)
commitb7378d77289c911ca6a0c0afaf513879002df7d5
tree1102bd7d38307fbaf3d32ee3299ee43a1a64b775
parente1d5dd645d5f59867cb0ad63179110f310cbca89
bpo-30458: Use InvalidURL instead of ValueError. (GH-13044)

Use http.client.InvalidURL instead of ValueError as the new error case's exception.
Lib/http/client.py
Lib/test/test_urllib.py
Misc/NEWS.d/next/Security/2019-04-10-08-53-30.bpo-30458.51E-DA.rst [moved from Misc/NEWS.d/next/Security/2019-04-10-08-53-30.bpo-36276.51E-DA.rst with 75% similarity]