On Mar 9, 4:51 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> 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. -- http://mail.python.org/mailman/listinfo/python-list