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/2013-August/127789.html below:

[Python-Dev] The Return Of Argument Clinic

[Python-Dev] The Return Of Argument Clinic [Python-Dev] The Return Of Argument ClinicArmin Rigo arigo at tunes.org
Mon Aug 5 11:42:02 CEST 2013
Hi Larry,

On Mon, Aug 5, 2013 at 10:48 AM, Larry Hastings <larry at hastings.org> wrote:
> Question 4: Return converters returning success/failure?

The option generally used elsewhere is: if we throw an exception, we
return some special value; but the special value doesn't necessarily
mean by itself that an exception was set.  It's a reasonable solution
because the caller only needs to call PyErr_Occurred() for one special
value, rather than every time.  See for example any call to
PyFloat_AsDouble().


A bientôt,

Armin.
More information about the Python-Dev mailing list

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