How to catch a fatal error in Python 2.7?

Liste des GroupesRevenir à cl python 
Sujet : How to catch a fatal error in Python 2.7?
De : mk1853387 (at) *nospam* gmail.com (marc nicole)
Groupes : comp.lang.python
Date : 09. Dec 2024, 20:19:27
Autres entêtes
Message-ID : <mailman.11.1733771907.2965.python-list@python.org>
References : 1
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!

Date Sujet#  Auteur
9 Dec 24 o How to catch a fatal error in Python 2.7?1marc nicole

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal