Re: Making 'compiled' modules work with multiple python versions on Linux

Liste des GroupesRevenir à cl python 
Sujet : Re: Making 'compiled' modules work with multiple python versions on Linux
De : barry (at) *nospam* barrys-emacs.org (Barry)
Groupes : comp.lang.python
Date : 02. Apr 2024, 17:16:09
Autres entêtes
Message-ID : <mailman.57.1712071011.3468.python-list@python.org>
References : 1 2
User-Agent : iPad Mail (21E236)


On 1 Apr 2024, at 18:14, Left Right via Python-list <python-list@python.org> wrote:
 
It sounds weird that symbols from Limited API are _missing_ (I'd
expect them to be there no matter what library version you link with).

You have to specify the version of the limited API that you want to use.
Each release adds more symbols to the limited API.
So if you compile against 3.10 version it works with 3.10, 3.11, 3.12 etc,
but not with 3.9.

My pycxx project has test code that I use to verify pycxx’s use of python API.
You could check out the source and run my tests to see how things work.
It is on https://sourceforge.net/projects/cxx/

Barry



Date Sujet#  Auteur
2 Apr 24 o Re: Making 'compiled' modules work with multiple python versions on Linux1Barry

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal