C ABI and #ifndef Py_LIMITED_API
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? Many thanks. -- ~Ethan~
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-defi...
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-defi...
Nice, that answered other questions as well! :) -- ~Ethan~
On 15 January 2015 at 02:24, Ethan Furman
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-defi...
Nice, that answered other questions as well! :)
It's worth noting that https://docs.python.org/3/c-api/stable.html is the relevant reference in the main C API docs. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
participants (3)
-
Ethan Furman
-
Georg Brandl
-
Nick Coghlan