[Python-3000] Draft PEP: Dropping PyObject_HEAD (original) (raw)

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 obtype is frequent in FooCheck() macros; those need to be rewritten to use PyType(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

-- Greg



More information about the Python-3000 mailing list