]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-97591: In `Exception.__setstate__()` acquire strong references before calling...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 2 Oct 2022 04:19:57 +0000 (21:19 -0700)
committerGitHub <noreply@github.com>
Sun, 2 Oct 2022 04:19:57 +0000 (21:19 -0700)
commitdbde686a49c2d0d7ce476d134f8daffd636382df
tree29b0f26d9dba15424127d730b3cf2bf4bb894821
parent9189cd6b05a32b67981d2157947d745b2d0dac88
gh-97591: In `Exception.__setstate__()` acquire strong references before calling `tp_hash` slot (GH-97700)

(cherry picked from commit d63943860974f232b5f027dc6535d25d1b4d8fc0)

Co-authored-by: Ofey Chan <ofey206@gmail.com>
Lib/test/test_baseexception.py
Misc/NEWS.d/next/Core and Builtins/2022-10-01-08-55-09.gh-issue-97591.pw6kkH.rst [new file with mode: 0644]
Objects/exceptions.c