Skip to content
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

Make most pyjtypes into heap types. #395

Merged
merged 1 commit into from
May 10, 2022

Conversation

bsteffensmeier
Copy link
Member

This brings jep closer to the Python Stable ABI and ensures the
pyjtypes with c extensions behave the same as the dynamically
created types generated for other classes.

See: https://docs.python.org/3.10/c-api/typeobj.html#static-types

This brings jep closer to the Python Stable ABI and ensures the
pyjtypes with c extensions behave the same as the dynamically
created types generated for other classes.

See: https://docs.python.org/3.10/c-api/typeobj.html#static-types
@bsteffensmeier
Copy link
Member Author

Thanks to @Techcable who provided a starting point for this work. This is not as extensive as the work in #308 but it is a step in that direction.

@Techcable
Copy link
Contributor

Great work! This should also make it easier to support alternative implementations like PyPy and GraalPython.

Also the stable ABI has been gradually improving over the last couple of versions. I am hopeful #308 would go a lot better in the future :)

@bsteffensmeier bsteffensmeier merged commit 31d5591 into ninia:dev_4.1 May 10, 2022
@bsteffensmeier bsteffensmeier deleted the heap_types branch August 24, 2022 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants