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


Groups > comp.lang.python > #95166 > unrolled thread

Re: except block isn't catching exception

Started byChris Angelico <rosuav@gmail.com>
First post2015-08-08 18:17 +1000
Last post2015-08-08 18:17 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: except block isn't catching exception Chris Angelico <rosuav@gmail.com> - 2015-08-08 18:17 +1000

#95166 — Re: except block isn't catching exception

FromChris Angelico <rosuav@gmail.com>
Date2015-08-08 18:17 +1000
SubjectRe: except block isn't catching exception
Message-ID<mailman.1334.1439021836.3674.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web