mirror of
https://github.com/python/cpython.git
synced 2026-05-08 05:32:01 -04:00
26f7b8acdc
At entry, save or swap the exception state even if PyEval_EvalFrameEx() is called with throwflag=0. At exit, the exception state is now always restored or swapped, not only if why is WHY_YIELD or WHY_RETURN. Patch co-written with Antoine Pitrou.