[patch #100895 ] PyErr_Format (was: Re: [Python-Dev] Patches)
Wed, 19 Jul 2000 22:49:55 +0200
On Wed, Jul 19, 2000 at 07:45:23PM +0200, 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.
> this covers most of the places where %.\d+s are used (in
> the Python core, at least...)
+0, but I haven't enough experience with this kind of thing to have a real
opinion. I guess it's better than nothing ;)
Thomas Wouters <email@example.com>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!