[Python-3000] Exception re-raising woes

Antoine Pitrou solipsis at pitrou.net
Mon May 26 18:58:15 CEST 2008


Antoine <solipsis <at> pitrou.net> writes:
> 
> The proposal I made is meant to allow having proper exception cleanup
> semantics as mandated by the py3k spec, and yet be able to using a bare
> "raise" re-raising statement in non-trivial nested exception handler
> situations.

I forgot to add that sys.exc_info() is probably impacted too.
Actually, anything which retrieves the current thread's exception state...

Regards

Antoine.




More information about the Python-3000 mailing list