python - How to catch an exception thrown in ctypes? -


I am working with ctypes using some coded Python. Somewhere in the cortex of the Library, an exception is occurring and / or it is being stopped (). Is there a way that I can hold in my Python collar code? (Platform is Linux)

You may be able to setup signal handler on SIGABRT to handle the signal signal By abortion () However, unsuccessful claims can go along with corrupted memory and other bad things - there is usually one reason why an indictment is unsuccessful, so usually eliminating applications is the best thing you can do. (Before your terminal in your handler Not before displaying an error / log).


Comments