[Python-Dev] C ABI and #ifndef Py_LIMITED_API

Georg Brandl g.brandl at gmx.net
Wed Jan 14 09:13:30 CET 2015


On 01/14/2015 08:32 AM, Ethan Furman wrote:
> In the CPython source code I see
> 
> #ifndef Py_LIMITED_API
> 
> Is there a section in the docs that explains the purpose?  If not, can
> someone give me the cliff notes version?

PEP 384, and in particular [1] should get you started.

cheers,
Georg

[1]
https://www.python.org/dev/peps/pep-0384/#header-files-and-preprocessor-definitions



More information about the Python-Dev mailing list