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

Support subclassing from native types in abi3 #1344

Open
davidhewitt opened this issue Dec 27, 2020 · 1 comment
Open

Support subclassing from native types in abi3 #1344

davidhewitt opened this issue Dec 27, 2020 · 1 comment

Comments

@davidhewitt
Copy link
Member

Currently unsupported, because it depends on the base type layout. There should be ways to achieve this.

@davidhewitt
Copy link
Member Author

Note to self: I think that this might be possible on Python 3.10, where PyType_GetSlot can be safely used on native types to get tp_new etc (which is necessary during class instantiation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1.0
To Do
Development

No branches or pull requests

2 participants