[Python-Dev] PEP 409 and the stdlib
ncoghlan at gmail.com
Tue May 21 15:46:31 CEST 2013
On Tue, May 21, 2013 at 11:23 PM, Hrvoje Niksic <hrvoje.niksic at avl.com> 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
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev