3 Dec
2010
3 Dec
'10
7:16 a.m.
Python’s setup.py has an example in Martin’s branch:
ext = Extension('xxlimited', ['xxlimited.c'], define_macros=[('Py_LIMITED_API', 1)])
http://codereview.appspot.com/3262043/patch/1/68
This is possible with today’s distutils. I don’t know if it’s enough to build stable-ABI-conformant extension modules.
It is. However, there is also the proposal that they use an ABI tag in the SO name; having that generated automatically would require a distutils change. Regards, Martin