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