Skip to content

bindings: python: look into Py_LIMITED_API #184

Description

@vfazio

It may be worthwhile to look into using the limited API when we can. There are some performance drawbacks for doing so, however, it does allow building wheels once for abi3 instead of having to build them for all versions and then explicitly adding support for new python versions.

https://docs.python.org/3/c-api/stable.html#c.Py_LIMITED_API

note that abi3t was just accepted for free-threaded builds: https://peps.python.org/pep-0803/

What that means for us, I have no idea, but maybe it's preferable that we don't have to continually add new version support and get it for free. the only time we'd need to release is to drop an old version, adjust the minimum, and rebuild.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions