[patch #100895 ] PyErr_Format (was: Re: [Python-Dev] Patches)
Moshe Zadka
Moshe Zadka <moshez@math.huji.ac.il>
Wed, 19 Jul 2000 23:40:16 +0300 (IDT)
On Wed, 19 Jul 2000, Fredrik Lundh wrote:
> possibly stupid idea: would it make sense to add custom
> formatting codes, like:
>
> %S => char*, string, clip if excessively long
> %T => PyObject*, show name of type, clip if excessively long
>
> where "clip" means:
>
> truncate at 80 characters, and add "..." to indicate
> that the string was truncated.
I'm +0 on those.
Seems like useful things.
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez