Re: [Python-Dev] A little GC confusion
21 Feb
2002
21 Feb
'02
2:52 p.m.
From: "David Abrahams"
From: "Thomas Heller"
PS: I have code very similar to yours, and a question:
Why does your class_type_object have PyPyBase_ObjectType as tp_base? To implement a subtypable type this is not needed IMO, or do I miss something?
I wanted subclasses of my class_type_object to have the same properties as new-style classes, so it just made sense to me to do that.
Python's documentation is... less than complete... so I'm sure I'm missing something.
Sure. Unfortunately, PEP253 still talks of PyType_InitDict instead of PyType_Ready, but we're beyond that already;-) Thomas
8099
Age (days ago)
8099
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thomas Heller