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

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

[patch #100895 ] PyErr_Format (was: Re: [Python-Dev] Patches) [patch #100895 ] PyErr_Format (was: Re: [Python-Dev] Patches)Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Thu, 20 Jul 2000 22:04:15 +0300 (IDT)
[M.-A. Lemburg]
> You add your new PyErr_Format() replacement with the existing
> subset of codes, but instead of bailing out when the function
> sees a format code it doesn't understand, you use sprintf()
> or snprintf() (where available) to format the unkown code ?!

[Paul Prescod]
> I think its too magical and could hide security holes under too many
> levels of conditional behavior.

FWIW, I agree with Paul -- if an unknown format code is used, it will be
plainly seen in the exception, so we will know *exactly* what popular
format codes we forgot to add.
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez




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