[Python-3000] Pre-peps on raise and except changes
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Feb 13 00:08:09 CET 2007
Nick Coghlan wrote:
> Guido van Rossum wrote:
> Someone else wrote:
>
> > raise FooException(<args>).with_traceback(<tb>)
>
> Works for me.
I don't like that somehow -- it looks too clever.
Also it violates the general principle of mutating
methods not returning things. I know Guido said
he's willing to waive that rule for exceptions,
but it still bothers me.
--
Greg
More information about the Python-3000
mailing list