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

[Python-Dev] Patches

[Python-Dev] PatchesPeter Schneider-Kamp peter@schneider-kamp.de
Wed, 19 Jul 2000 06:17:49 +0000
Fredrik Lundh wrote:
> 
> > -0 on that, I'd rather use snprintf when available, sprintf when not.
> 
> strange argument.  why is it okay to crash Python on Windows,
> pure SUSv2 platforms, pure ANSI C platforms, etc?

I was assuming that most modern systems have a sprintf function
available. If this is not the case, my argument is indeed void.

I was extrapolating from the fact that it's available on the
systems I work on (linux, sunos, solaris).

> besides, snprintf doesn't do the same thing as my PyErr_Format
> replacement...

Yes, but it would by possible to use snprintf in PyErr_Format.

+1 on the patch. We cannot neglect Windows (unfortunately<wink>).

Peter
--
Peter Schneider-Kamp          ++47-7388-7331
Herman Krags veg 51-11        mailto:peter@schneider-kamp.de
N-7050 Trondheim              http://schneider-kamp.de



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