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.
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.