[Python-Dev] Procedure for adding new public C API (original) (raw)

Paul Moore p.f.moore at gmail.com
Mon May 21 10:08:36 EDT 2018


On 21 May 2018 at 14:42, Serhiy Storchaka <storchaka at gmail.com> wrote:

Is it even acceptable to add a symbol into the limited ABI? I thought the idea was that if I linked with python3.dll, my code would work with any version of Python 3? By introducing new symbols, code linked with the python3.dll shipped with (say) Python 3.8 would fail to run if executed with the python3.dll from Python 3.5. The limited API is versioned. If you use only Python 3.5 API (define PyLIMITEDAPI to 0x03050000), the built code will be expected to work on 3.5 and later. In theory.

Thanks, I'd missed that point (I need to go and check my build process, in that case :-)).

Paul



More information about the Python-Dev mailing list