[BRLTTY] Support multiple Python versions on Windows

Leonard de Ruijter alderuijter at gmail.com
Thu Sep 28 02:56:23 EDT 2023


Hi Samuel,


That is lovely! I'm happy to give that a try if I can get the Python 
bindings to build, though having a hard time with that. The windows 
building docs contain several suggestions for build environment. Ideally 
I'd use something that is as close as possible to the environment Dave 
uses for release builds.


Cheers,

Leoanrd

On 28/09/2023 01:28, Samuel Thibault wrote:
> Samuel Thibault, le jeu. 28 sept. 2023 01:26:57 +0200, a ecrit:
>> Leonard de Ruijter, le mer. 27 sept. 2023 19:51:10 +0200, a ecrit:
>>> Python has something like the stable application binary Interface (ABI), see
>>> https://docs.python.org/3.11/c-api/stable.html . This can be used by
>>> enabling the limited API.
>>>
>>> I wonder, has this ever been considered? If not, could it be considered to
>>> create a brlapi python package that uses the limited API, preferably using
>>> an API version that is equal to the minimum Python version that is still in
>>> maintenance (currently 3.8)? That would ensure that you'd be able to use a
>>> brlapi python extension with multiple python versions.
>> Apparently cython3 introduced some support for it, so it will be worth
>> trying it indeed.
> (namely: CYTHON_LIMITED_API, that makes cython use the stable ABI)
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.app
> For general information, go to: http://brltty.app/mailman/listinfo/brltty


More information about the BRLTTY mailing list