[Python-Dev] C ABI and #ifndef Py_LIMITED_API

Ethan Furman ethan at stoneleaf.us
Wed Jan 14 17:24:15 CET 2015


On 01/14/2015 12:13 AM, Georg Brandl wrote:
> 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.
> 
> [1]
> https://www.python.org/dev/peps/pep-0384/#header-files-and-preprocessor-definitions

Nice, that answered other questions as well!  :)

--
~Ethan~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150114/e495fec8/attachment.sig>


More information about the Python-Dev mailing list