summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-10-10 09:12:52 (GMT)
committerGitHub <noreply@github.com>2023-10-10 09:12:52 (GMT)
commit2b3a4182798bc95a426e55d1f9f7199e2f2b5662 (patch)
tree26918761ea6e7a47e5e03de150d21065b3d15763 /Python/ceval.c
parentd099defc63681a9134771f768059066116122599 (diff)
downloadcpython-2b3a4182798bc95a426e55d1f9f7199e2f2b5662.zip
cpython-2b3a4182798bc95a426e55d1f9f7199e2f2b5662.tar.gz
cpython-2b3a4182798bc95a426e55d1f9f7199e2f2b5662.tar.bz2
[3.11] gh-110378: Close invalid generators in contextmanager and asynccontextmanager (GH-110499) (#110589)
contextmanager and asynccontextmanager context managers now close an invalid underlying generator object that yields more then one value. (cherry picked from commit 96fed66a65097eac2dc528ce29c9ba676bb07689) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions