A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006985.html below:

[patch #100895 ] PyErr_Format (was: Re: [Python-Dev] Patches)

[patch #100895 ] PyErr_Format (was: Re: [Python-Dev] Patches)Thomas Wouters thomas@xs4all.net
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 <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4