]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105375: Improve array.array exception handling (GH-105594) (#105643)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Jun 2023 10:22:31 +0000 (03:22 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 10:22:31 +0000 (10:22 +0000)
commit3c08e54ccfff5c43ba79bbb4a95ad9effb16519a
treed07a7d7ea8d12b12b22a9961882f067f0e81af6d
parentaaa8a493ecb69c3d9abeee38dc205f93aa5dea95
[3.11] gh-105375: Improve array.array exception handling (GH-105594) (#105643)

Fix a bug where 'tp_richcompare' could end up overwriting an exception.
(cherry picked from commit 35cff545db7c7912046c0ce5627db2e4d2b60f57)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Misc/NEWS.d/next/Library/2023-06-09-21-46-52.gh-issue-105375.yrJelV.rst [new file with mode: 0644]
Modules/arraymodule.c