Message152261
The important part is not the change of name, but wrapping them in a
struct which can be embedded in both PyThreadState and PyGenObject.
The state->exc_XXX trio of values are the currently handled exception
(sys.exc_info()) and are shadowed by generator exception handlers.
My patch models that shadowing rather than swapping the values in and
out. This allows me to eliminate save_exc_state(), swap_exc_state()
and restore_and_clear_exc_state() completely. |
|
Date |
User |
Action |
Args |
2012-01-29 21:23:10 | Mark.Shannon | set | recipients:
+ Mark.Shannon, amaury.forgeotdarc, ncoghlan, ron_adam, benjamin.peterson |
2012-01-29 21:23:10 | Mark.Shannon | link | issue13897 messages |
2012-01-29 21:23:10 | Mark.Shannon | create | |
|