On Tue, May 21, 2013 at 11:23 PM, Hrvoje Niksic <[email protected]> wrote:
> In my example code the "raise" keyword appears lexically inside the "except"
> clause. The compiler would automatically emit a different raise opcode in
> that case.
Hrvoje, can we drop this subthread please. The topic was addressed way
back when PEP 3134 was written, and there is already dedicated syntax
to distinguish incidental exceptions in error handlers ("raise new")
from deliberate replacement of an exception with a new one ("raise new
from original")
Cheers,
Nick.
--
Nick Coghlan | [email protected] | Brisbane, Australia
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com