Skip to content

Make most pyjtypes into heap types.#395

Merged
bsteffensmeier merged 1 commit into
ninia:dev_4.1from
bsteffensmeier:heap_types
May 10, 2022
Merged

Make most pyjtypes into heap types.#395
bsteffensmeier merged 1 commit into
ninia:dev_4.1from
bsteffensmeier:heap_types

Conversation

@bsteffensmeier

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

3 participants