Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95166
| References | <CAPTjJmoXwUaHCyPw-ZPXAGWTeKKZ8F-rSLAadJ1ffjtwCJZvBg@mail.gmail.com> <20150808081148.GA82462@cskk.homeip.net> |
|---|---|
| Date | 2015-08-08 18:17 +1000 |
| Subject | Re: except block isn't catching exception |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1334.1439021836.3674.python-list@python.org> (permalink) |
On Sat, Aug 8, 2015 at 6:11 PM, Cameron Simpson <cs@zip.com.au> wrote: > From: > > > https://docs.python.org/3/library/signal.html#execution-of-python-signal-handlers > > we have: > > A Python signal handler does not get executed inside the low-level (C) > signal handler. Instead, the low-level signal handler sets a flag which > tells the virtual machine to execute the corresponding Python signal > handler at a later point(for example at the next bytecode instruction). Ah, thanks. Most importantly, though: Is there anything in the *language spec*, or is this a CPython implementation detail? ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: except block isn't catching exception Chris Angelico <rosuav@gmail.com> - 2015-08-08 18:17 +1000
csiph-web