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 _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
