[Python-3000] PEP 3123: Making PyObject_HEAD conform to standard C (Was: Dropping PyObject_HEAD) (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sun Apr 29 15:47:27 CEST 2007


An example of how this will change current code would be good. E.g., o->obtype->tpname becomes PyType(o)->typname or o->obbase->obtype->tpname.

Otherwise I am all for cleaning up the codebase and thus support this PEP.

Thanks for the suggestions, I have add them all into PEP 3123.

I also changed the PEP title, to reflect that PyObject_HEAD is maintained for compatibility.

Regards, Martin



More information about the Python-3000 mailing list