]> 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:18:38 +0000 (21:18 -0700)
committerGitHub <noreply@github.com>
Sun, 2 Oct 2022 04:18:38 +0000 (21:18 -0700)
commitc6fcbb4928ced97df81d2cef6c5dcec6bc7dcab7
tree7d222d7c3d8d1a339754a290a4e2ee631dda526c
parenta4fbb949659b86b0925b20a9ef6bc2877f397252
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