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/006689.html below:

[Python-Dev] PyErr_SafeFormat

[Python-Dev] PyErr_SafeFormat [Python-Dev] PyErr_SafeFormatFredrik Lundh Fredrik Lundh" <effbot@telia.com
Sun, 16 Jul 2000 13:37:40 +0200
moshe wrote:


> On Sun, 16 Jul 2000, Fredrik Lundh wrote:
>=20
> > anyone looked at this?
>=20
> I did. It looked all right, except for the "default" in the switch
> statements.

what's wrong with the default clause?

the idea is that if it stumbles upon a formatting code it doesn't
understand, it copies the rest of the format string to the output
string (it cannot just skip unknown codes, since there's no way
to know what's in the argument list...)

if you can think of a better approach, let me know asap.

cheers /F




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