]> 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:35 +0000 (20:17 -0800)
committerGitHub <noreply@github.com>
Thu, 8 Dec 2022 04:17:35 +0000 (20:17 -0800)
commit85be25827bb94112037c391eca66a0d796468825
tree1f4cf9f00a2f99d62a20f376e61bc8a7130cec08
parentfe7c309a8c5d8abedd97dd271e94eb2c0f858c12
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]