Subtyping a non-builtin type in C/C++

johan2sson at gmail.com johan2sson at gmail.com
Sun Aug 13 15:23:36 EDT 2006


johan2sson at gmail.com wrote:

> > > I am trying to create a subclass of a python class, defined in python,
> > > in C++, but I am having some problems.

Note to future news group archeologists:

I have since learned that that's because it "can't be done", in the
sense that there's no defined way that is supposed to work. Of course
it could probably be done by reverse engineering what is done by the
interpreter and then applying the same steps manually, but it would be
a real hack.




More information about the Python-list mailing list