[Python-3000] PEP 3123: Making PyObject_HEAD conform to standard C (Was: Dropping PyObject_HEAD) (original) (raw)
Brett Cannon brett at python.org
Sun Apr 29 19:06:37 CEST 2007
- Previous message: [Python-3000] PEP 3123: Making PyObject_HEAD conform to standard C (Was: Dropping PyObject_HEAD)
- Next message: [Python-3000] PEP 3123: Making PyObject_HEAD conform to standard C (Was: Dropping PyObject_HEAD)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 4/29/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> An example of how this will change current code would be good. E.g., >
o->obtype->tpname
becomesPyType(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 PyObjectHEAD is maintained for compatibility.
Are we going to have a preference over PyObject_HEAD or defining the struct field directly?
-Brett
- Previous message: [Python-3000] PEP 3123: Making PyObject_HEAD conform to standard C (Was: Dropping PyObject_HEAD)
- Next message: [Python-3000] PEP 3123: Making PyObject_HEAD conform to standard C (Was: Dropping PyObject_HEAD)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]