Check CAPI exceptions before signals
Previously we would check signals first. Which means that we would then call into a signal handler with an active exception, which would later trigger asserts. For CXX functions, the exception automatically wins over the signal checking. CPython also checks signals first. The only tricky thing is that this was happening because the signals stuff was hooked deeper down the stack. So pass down the CAPI-exception data as well.
Showing
This diff is collapsed.
Please register or sign in to comment