Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197047

How to catch a fatal error in Python 2.7?

From marc nicole <mk1853387@gmail.com>
Newsgroups comp.lang.python
Subject How to catch a fatal error in Python 2.7?
Date 2024-12-09 20:19 +0100
Message-ID <mailman.11.1733771907.2965.python-list@python.org> (permalink)
References <CAGJtH9RSph6W6tMePZYdYPCEmgL22VoDLMjfGWdjq=H+6hMR7g@mail.gmail.com>

Show all headers | View raw


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!

Back to comp.lang.python | Previous | Next | Find similar


Thread

How to catch a fatal error in Python 2.7? marc nicole <mk1853387@gmail.com> - 2024-12-09 20:19 +0100

csiph-web