> > Maybe in Py3K this could become
> >
> > raise ValueError("bloop"), tb
>
> The instantiation and bindings need to be done in one step without
> mixing two syntaxes. Treat this case the same as everything else:
>
> raise ValueError("blip", traceback=tb)
That requires PEP 344. I have some vague feeling that the way we build
up the traceback by linking backwards, this may not necessarily work
right. I guess somebody has to try to implement PEP 344 in order to
find out.
(In fact, I think trying to implement PEP 344 would be an *excellent*
way to validate it.)
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
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