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

Clean up 'PyInstance' methods #424

Open
braxtonmckee opened this issue Jan 30, 2023 · 0 comments
Open

Clean up 'PyInstance' methods #424

braxtonmckee opened this issue Jan 30, 2023 · 0 comments

Comments

@braxtonmckee
Copy link
Collaborator

PyInstance has a few core methods for determining if a PyObject* is a TP instance and converting between Instance, (void*, Type*), and PyObject* that could be more explicitly named and cleaned up.

In particular, we should have one API for taking a PyObject to an InstanceRef, and producing a PyObject from an InstanceRef.

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

1 participant