Re: What c.l.py's opinions about Soft Exception?



On Mar 9, 4:51 pm, "Diez B. Roggisch" <de...@xxxxxxxxxxxxx> wrote:
Perhaps similar technique the compiler uses to determine whether a
function is a normal function or a generator function? Positive
forward lookup for any soft exceptions, which would then activate
matching soft exceptions inside the code?

What would work is most probably to register soft-exception-handlers
when encountering them at runtime, thus making raising-code aware of
them and execute it only if there are one (or several) present.

[HO snip]

Mr. Roggisch, I just said that. You can unplonk me now.
.