]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-98778: Update HTTPError to initialize properly even if fp is None (gh-99966)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 Dec 2022 04:17:23 +0000 (20:17 -0800)
committerGitHub <noreply@github.com>
Thu, 8 Dec 2022 04:17:23 +0000 (20:17 -0800)
commit846898e5ab0fb1bf740263573f01669be186645f
tree620ae37b5b35176709c8305ff3587b7d2fccb0d1
parent2997f3913a7f644352a1d4013588451837d2ac58
gh-98778: Update HTTPError to initialize properly even if fp is None (gh-99966)

(cherry picked from commit dc8a86893df37e137cfe992e95e7d66cd68e9eaf)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
Lib/test/test_urllib2.py
Lib/urllib/error.py
Misc/NEWS.d/next/Library/2022-12-03-20-06-16.gh-issue-98778.t5U9uc.rst [new file with mode: 0644]