Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197047
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | marc nicole <mk1853387@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | How to catch a fatal error in Python 2.7? |
| Date | Mon, 9 Dec 2024 20:19:27 +0100 |
| Lines | 13 |
| Message-ID | <mailman.11.1733771907.2965.python-list@python.org> (permalink) |
| References | <CAGJtH9RSph6W6tMePZYdYPCEmgL22VoDLMjfGWdjq=H+6hMR7g@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Trace | news.uni-berlin.de n/vOuUG5rbXdJ9QOOg6ZMQSx8/E1MwM+RqgA+4TE1MKQ== |
| Cancel-Lock | sha1:WbAySYBfypXp4x3Qjulz1KxvEaY= sha256:6ocOE4mics+zVbZlmsr4/xhF6mgJZNi1pzOySgE741Q= |
| Return-Path | <mk1853387@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| Authentication-Results | mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=J2/ZOotc; dkim-adsp=pass; dkim-atps=neutral |
| X-Spam-Status | OK 0.046 |
| X-Spam-Evidence | '*H*': 0.91; '*S*': 0.00; 'else.': 0.07; 'subject:error': 0.07; 'subject:Python': 0.12; 'memory': 0.15; 'help!': 0.16; 'microphone': 0.16; 'referencing': 0.16; 'subject:2.7': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20; 'to:no real name:2**1': 0.22; 'code': 0.23; 'error': 0.29; 'whole': 0.30; 'sfxlen:2': 0.31; 'subject:How': 0.31; 'program,': 0.31; 'message-id:@mail.gmail.com': 0.31; 'program': 0.32; 'but': 0.32; 'received:google.com': 0.34; 'able': 0.34; 'from:addr:gmail.com': 0.34; 'thanks': 0.39; 'hello,': 0.39; 'something': 0.40; 'involved': 0.63; 'leading': 0.63; 'ps:': 0.69; 'resulting': 0.70; 'bluetooth': 0.84; 'catch': 0.84; 'exceptions': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733771903; x=1734376703; darn=python.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=DsFb3M2Ba44noe+KDXG/6KeGLqK4ismnZxsB+cg3w1o=; b=J2/ZOotceU9PncwQ0fQtmUjsDo99QfLET+Tb6BAOrzn3BX0LVC1sjpjKUmX44tr+ql H4OCdZMraO0oManoqjbr+piikalmb9Gm+UudSxHrQ4+FkS2L2rz6EhrCRPDgCz2Xe1Ei LGRmWYOm/ZXWrlsJgoVpDa6WdqKH1WDkzmxYuhW7TTa43HJyF8aqGO92tOB2ZkoDg1rT WQg2PEuJQ6HgGeQ6bWoT8vTqfeeLk7HlsQgZUCqkJDJ6foW7Ub7Oez2KSqVbZJ2ykdF4 cgYUj03RAujRaGK0a3TeUjCRP4PSOXRP6ldDG7+ieObQsNqHGJ53UdMSgqQgiL+IVskU VsjQ== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733771903; x=1734376703; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DsFb3M2Ba44noe+KDXG/6KeGLqK4ismnZxsB+cg3w1o=; b=LWnT3QCzZN/Ms5gYA6SMwZ/jv6MxtKE5PC708LGA19KIk3en48wMBXONPvkCW2a2vG +8Q1HFC0jXntcDixgrfjDdfuCa6D2AE+PO/dCIZzzZd6uhLgHQiy5kRkYlRki0ZiyTmN IxbX1xbPoHzwu443hPJw4cEbI/E5h8U7AOOqxzix613/stNwVc+cXODloHz5eceqYN8j TZ4Vl4uE8PX4RvvaKffXuRG8IX+FLERbsC42JD4JFFsrTlHZsRRowICzxeSRj7gkAETy crKbV7yU1UqXwcSv6Pw37s1uJWY2pCBqVgTWDyPukZbpgvyDpukJlFCRk0PqLHeNdH4Z 3tig== |
| X-Forwarded-Encrypted | i=1; AJvYcCUVscsKjnsFZElUtPs0Squ7SBexz7Lt9wj6mbSWXSJeu8PDB1JIGtjAT4s/EKUNj391nalCrf+8XoYZ5A==@python.org |
| X-Gm-Message-State | AOJu0Yz5msy6Adlf/O3yXpVp2Tha0aS5Myhq8E0J1qrzMceOdZyd5TvR DsGLAXaYBjD+K62A9XPdWsdsCMVNw/Dg01CEJRfJS09Cr5mwhZu6DfNuHVrPqTfau8wqvLpBJP5 Zt7COibOIEAC63rjfktTkHFTqed0NJw== |
| X-Gm-Gg | ASbGnctI2Cvw0sJLfDCzF4RzMgxfrWS0wDuweiaoy6qnyaIfRRsHSn48HLgNPZWuZnL CC5ol4Z3VSYiFbI11dV29+0I9t+hT/dsr |
| X-Google-Smtp-Source | AGHT+IH1HRJHRZo5mEU5Dx725HlSdd83IIFxmvDQWh3jfJfaU+7V1HBzMZF+e7GhOn/wUq59gYrLU0QYGejIxcA+3jA= |
| X-Received | by 2002:a05:690c:6e12:b0:6ef:5fee:1ca6 with SMTP id 00721157ae682-6efe3c0c343mr130038717b3.18.1733771903218; Mon, 09 Dec 2024 11:18:23 -0800 (PST) |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.39 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.39 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <https://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <CAGJtH9RSph6W6tMePZYdYPCEmgL22VoDLMjfGWdjq=H+6hMR7g@mail.gmail.com> |
| Xref | csiph.com comp.lang.python:197047 |
Show key headers only | 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
How to catch a fatal error in Python 2.7? marc nicole <mk1853387@gmail.com> - 2024-12-09 20:19 +0100
csiph-web