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

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