This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tismer
Recipients
Date 2002-09-05.11:31:52
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=105700

Hi again,
I fixed a minor bug/omission in my patch.
Also, the etype struct is now gone. Instead,
there is a PyHeaptypeObject definition in object.h
which simply can be used in your own extended
type definition like this:

struct _mytype = {
  PyHeaptypeObject etype;
  int field1;
  PyObject *something;
  char and_so_on[20];
}

But I'm quite convinced that this is not the end of the story.
I would like to solve the issue about how to efficiently call
object methods from C which might be overridden?
I believe we could provide an extension to heap types that
handles this automatically. I'm working on a prototype.

ciao - chris
History
Date User Action Args
2007-08-23 14:04:39adminlinkissue591586 messages
2007-08-23 14:04:39admincreate