[Python-Dev] 2.4.4: backport classobject.c HAVE_WEAKREFS? (original) (raw)
Armin Rigo arigo at tunes.org
Thu Oct 12 14:12:49 CEST 2006
- Previous message: [Python-Dev] 2.4.4: backport classobject.c HAVE_WEAKREFS?
- Next message: [Python-Dev] 2.4.4: backport classobject.c HAVE_WEAKREFS?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Fredrik,
On Wed, Oct 11, 2006 at 12:35:23PM +0200, Fredrik Lundh wrote:
NoddyType = PyTypeSetup("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.
A bientot,
Armin
- Previous message: [Python-Dev] 2.4.4: backport classobject.c HAVE_WEAKREFS?
- Next message: [Python-Dev] 2.4.4: backport classobject.c HAVE_WEAKREFS?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]