Greg Ewing schrieb: > Martin v. Löwis wrote: >> I expect access to ob_type is frequent in Foo_Check() macros; >> those need to be rewritten to use Py_Type(op). > > Maybe some of this breakage could be repaired by renaming > the real ob_type field and doing something like > > #define ob_type ob_base._ob_type
That doesn't work. For variable-sized objects, it would need to be ob_base.ob_base.ob_type. Regards, Martin _______________________________________________ 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