[Python-Dev] PEP 384 accepted

"Martin v. Löwis" martin at v.loewis.de
Fri Dec 3 08:16:35 CET 2010


> 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


More information about the Python-Dev mailing list