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/2002-July/026988.html below:

[Python-Dev] Re: [Python-checkins] python/dist/src/Objects stringobject.c,2.171,2.172

[Python-Dev] Re: [Python-checkins] python/dist/src/Objects stringobject.c,2.171,2.172Fredrik Lundh fredrik@pythonware.com
Sun, 28 Jul 2002 17:49:27 +0200
> SF patch #577031, remove PyArg_Parse() since it's deprecated

> ! v = PyNumber_Float(v);
> ! if (!v)
>   return -1;

> v = PyNumber_Int(v);
> ! if (!v)
>   return -1;

umm.

doesn't PyNumber_Float and PyNumber_Int convert its argument to
a float/integer, if it's not already the right type?

in earlier versions of Python, "%g" % "1.0" raised a TypeError.  does
it still do that with this patch in place?

</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