Message11846
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 |
|
Date |
User |
Action |
Args |
2007-08-23 14:04:39 | admin | link | issue591586 messages |
2007-08-23 14:04:39 | admin | create | |
|