[Python-3000] self-contained exceptions
Collin Winter
collinw at gmail.com
Mon Jan 8 17:25:17 CET 2007
On 1/8/07, Phillip J. Eby <pje at telecommunity.com> wrote:
> At 09:14 PM 1/7/2007 -0600, Collin Winter wrote:
> >The transformation is as Phillip outlined above, with extra logic to
> >handle the case where e is a tuple or list.
>> In the tuple or list case, there's no need to reset the variables, because
> then the traceback won't be present any more; the exception object will
> have been discarded after unpacking.
Ah, good point. I'll update the patch to strip out that extra code.
Thanks,
Collin Winter
More information about the Python-3000
mailing list