Calling `exit()` or `abort()` in C code invoked by Python will kill the Python interpreter. CRAN has a way to detect theses issues in the R package. - [ ] Replace `exit()` and `abort()` with return error values and catch those values in Python to raise the appropriate exception. - [ ] Is there a tool that detects problematic C code for Python extensions like CRAN does?