[Python-Dev] What version is an extension module binary compatible with (original) (raw)

Serhiy Storchaka storchaka at gmail.com
Tue Mar 28 11:27:15 EDT 2017


On 28.03.17 14:24, Miro HronĨok wrote:

However, recently we found an issue with this approach [1]: an extension module built against Python 3.6.1 cannot be run on Python 3.6.0, because it uses a macro that, in 3.6.1, uses the new PySliceAdjustIndices function.

The macro expanding to PySlice_AdjustIndices is used only when Py_LIMITED_API is not defined or is defined to the version equal or greater the version in which PySlice_AdjustIndices was added.



More information about the Python-Dev mailing list