-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promote pythoncapi-compat project #1
Comments
The other limitation is that it only works for C. We might want to build an actual linkable library. |
An idea @colesbury floated at the sprint (from one of the HPy devs? I didn't catch which one): |
I wrote the deadparrot project which is implemented as a C shared library. I'm not sure if it can be used by other programming languages since it renames PyXXX functions to DeadPyXXX. Well, the project is still experimental :-) |
@vstinner maintains a repository (https://github.com/python/pythoncapi-compat) with backwards compatibility shims that allow extensions to use certain new C APIs while running on older Python versions.
We could officially promote this approach as a way for projects to be able to move forward while still supporting older Python versions.
I currently don't know what the limitations are -- possibly this doesn't work with the Stable ABI?
Credit-To: @ericsnowcurrently who mentioned this in our team meeting today.
The text was updated successfully, but these errors were encountered: