[Python-3000] Draft PEP: Dropping PyObject_HEAD

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Apr 29 03:47:04 CEST 2007

Martin v. Löwis wrote:
> I expect access to ob_type is frequent in Foo_Check() macros;
> those need to be rewritten to use Py_Type(op).

Maybe some of this breakage could be repaired by renaming
the real ob_type field and doing something like

   #define ob_type ob_base._ob_type


More information about the Python-3000 mailing list