[issue8118] PYTHON_API_VERSION needs to be bumped?

Martin v. Löwis report at bugs.python.org
Fri Mar 12 22:31:38 CET 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

> Is PYTHON_API_VERSION actually useful right now? It seems to me that
> we need Martin's ABI stability PEP to be implemented before extension
> modules can be safely shared between several non-bugfix releases.

Today, PYTHON_API_VERSION primarily serves as a check that the extension
you load had been compiled for the Python release that its being loaded
into. We promise ABI stability across bug fix releases for the same
feature release, so yes, it is useful.

The original motivation (allowing to share extensions across feature
releases) was last relevant in the 1.x series, IIRC.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8118>
_______________________________________


More information about the Python-bugs-list mailing list