[Python-Dev] PyErr_SafeFormat

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Sun, 16 Jul 2000 14:55:18 +0300 (IDT)


On Sun, 16 Jul 2000, Fredrik Lundh wrote:

> what's wrong with the default clause?

That it wasn't clear...

> 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...)

Seems reasonable. I'm +1 on that as long as you take the above paragraph
and stick it in a comment somewhere in the patch.

aw-to-hel-with-documentation-ly y'rs, Z.
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez