[Python-3000] PyObject_HEAD_INIT

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Nov 15 00:22:43 CET 2008


Roger Binns wrote:

> Obviously the Python 3 documentation and examples need to be updated.
> Also why not remove PyObject_HEAD_INIT from Python 3 headers so that if
> it is used then the compile fails?

Is there some reason not to define PyObject_HEAD_INIT so
that it expands into the appropriate PyVarObject_HEAD_INIT
call?

-- 
Greg


More information about the Python-3000 mailing list