[capi-sig] exceptions, the right way
Stefan Behnel
python_capi at behnel.de
Fri Nov 18 13:58:14 CET 2011
Lee, 17.11.2011 11:07:
> I am new to Python C/API, I am trying to follow the official docs, but
> I am confused about raising and catching exceptions from an extension.
Just in case your actual goal is not to learn the C-API but to write code
for it, you may want to take a look at Cython. It's a Python compiler that
allows you to quickly write efficient C extensions for CPython without
having to know the details of the underlying C-API.
Stefan
More information about the capi-sig
mailing list