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

Fast type checking for heap types #17

Open
encukou opened this issue May 10, 2023 · 4 comments
Open

Fast type checking for heap types #17

encukou opened this issue May 10, 2023 · 4 comments

Comments

@encukou
Copy link
Contributor

encukou commented May 10, 2023

Type-checking -- specifically, checking whether a given type has a particular memory layout -- is currently hard to do for heap types.

@gvanrossum
Copy link

gvanrossum commented May 16, 2023

@encukou Can you be more specific about what this would look like? How would the "particular memory layout" be specified?

@encukou
Copy link
Contributor Author

encukou commented May 17, 2023

A solution is fully sketched out in encukou/abi3#19, my next step is writing the implementation and PEP.

@vstinner
Copy link
Contributor

Is it an API issue? To me, it looks more like an implementation issue, no?

@encukou
Copy link
Contributor Author

encukou commented Jul 12, 2023

I don't know what you mean by those. Does it matter?

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

No branches or pull requests

4 participants