diff options
author | Mark Shannon <mark@hotpy.org> | 2021-03-24 17:56:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-24 17:56:12 (GMT) |
commit | 4958f5d69dd2bf86866c43491caf72f774ddec97 (patch) | |
tree | be5c90542cd132c43c2698c8b868c7ac9f8e95c2 /Misc | |
parent | 232f4cb6671f1ec5591faabbbbcc599da22781c4 (diff) | |
download | cpython-4958f5d69dd2bf86866c43491caf72f774ddec97.zip cpython-4958f5d69dd2bf86866c43491caf72f774ddec97.tar.gz cpython-4958f5d69dd2bf86866c43491caf72f774ddec97.tar.bz2 |
Only check evalbreaker after calls and on backwards egdes. Makes sure that __exit__ or __aexit__ is called in with statments in case of interrupt. (GH-18334)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2020-02-03-13-23-10.bpo-29988.8_UB5w.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-02-03-13-23-10.bpo-29988.8_UB5w.rst b/Misc/NEWS.d/next/Core and Builtins/2020-02-03-13-23-10.bpo-29988.8_UB5w.rst new file mode 100644 index 0000000..9a19c61 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2020-02-03-13-23-10.bpo-29988.8_UB5w.rst @@ -0,0 +1,3 @@ +Only handle asynchronous exceptions and requests to drop the GIL when +returning from a call or on the back edges of loops. Makes sure that +:meth:`__exit__` is always called in with statements, even for interrupts. |