[Python-3000] Draft PEP: Dropping PyObject_HEAD
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Apr 30 02:53:39 CEST 2007
Martin v. Löwis wrote:
> That doesn't work. For variable-sized objects, it would need
> to be ob_base.ob_base.ob_type.
I was wondering about that. It seems that each level
of inheritance is going to add another level of
required member access. Or is it legal to short-
circuit all that and just cast directly to the
ultimate base object?
--
Greg
More information about the Python-3000
mailing list