Roger Binns wrote: > Martin v. Löwis wrote: >>> Also why not remove PyObject_HEAD_INIT from Python 3 headers so that if >>> it is used then the compile fails? >> It's still needed for non-var objects. > > Wouldn't a var object have PyVarObject_HEAD and a non-var object have > PyObject_HEAD?
That's in the types. In the objects, you need the *_INIT macros. Regards, Martni _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com