Message387319
> #define _PyErr_OCCURRED() (PyThreadState_GET()->curexc_type)
But this way, this macro access directly the PyThreadState.curexc_type member which goes against the bpo-39947 "[C API] Make the PyThreadState structure opaque (move it to the internal C API)" issue. |
|
Date |
User |
Action |
Args |
2021-02-19 13:30:20 | vstinner | set | recipients:
+ vstinner |
2021-02-19 13:30:20 | vstinner | set | messageid: <1613741420.83.0.752004390595.issue43270@roundup.psfhosted.org> |
2021-02-19 13:30:20 | vstinner | link | issue43270 messages |
2021-02-19 13:30:20 | vstinner | create | |
|