How to catch a fatal error in Python 2.7?

marc nicole mk1853387 at gmail.com
Mon Dec 9 14:19:27 EST 2024


Hello,

The fatal error exits the program with a code -1 while referencing the
memory address involved and nothing else.

How to catch it in Python 2.7?

PS: please not I am not talking about exceptions but an error resulting
from the disconnection of my bluetooth microphone abruptly and leading to
the halting of the whole program, I need to be able to do something when it
occurs.

Thanks for the help!


More information about the Python-list mailing list