]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-108654: restore comprehension locals before handling exception (GH-108659...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 31 Aug 2023 13:32:17 +0000 (06:32 -0700)
committerGitHub <noreply@github.com>
Thu, 31 Aug 2023 13:32:17 +0000 (15:32 +0200)
commit1a15d20b75a1f3ee477c9c49c82bda47aa6a9cd1
treef058bfd290bdffac8378af8fbdbcd8e9e6630f8b
parent320d398262349d4928031142339ad895a052e83c
[3.12] gh-108654: restore comprehension locals before handling exception (GH-108659) (#108700)

gh-108654: restore comprehension locals before handling exception (GH-108659)
(cherry picked from commit d52c4482a82f3f98f1a78efa948144a1fe3c52b2)

Co-authored-by: Carl Meyer <carl@oddbird.net>
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Lib/test/test_listcomps.py
Misc/NEWS.d/next/Core and Builtins/2023-08-29-17-53-12.gh-issue-108654.jbkDVo.rst [new file with mode: 0644]
Python/compile.c