[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Minor oddity in traceback generation
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 27 Sep 2015 11:26:17 -0300
> I just observed that currently, tracebacks are 'shortened' based on
> the 'level' passed.
>
> [...]
>
> Notice that the bit before the "..." gets shorter as you provide a
> higher level argument.
> This makes it hard to transparently wrap error producing functions,
> as the amount of wrapping you do will effect the usefulness of the traceback
This is not a "legal" bug, but it is a "moral" one :-)
-- Roberto