[Python-Dev] 2.4.4: backport classobject.c HAVE_WEAKREFS?

Fredrik Lundh fredrik at pythonware.com
Thu Oct 12 14:37:25 CEST 2006

Armin Rigo wrote:

>>     NoddyType = PyType_Setup("noddy.Noddy", sizeof(Noddy));
> It doesn't address the problem Martin explained (you can put neither
> NULLs nor stubs in tp_xxx fields that are beyond the C extension
> module's sizeof(Nobby)).  But I imagine it could with a bit more
> tweaking.

umm. last time I checked, the tp fields lived in the type object, not in the


More information about the Python-Dev mailing list