Re: Wrapping C++ Class Heirachy in Python

2005-04-19 Thread Andrew Wilkinson
Steve Juranich wrote: >> I've found the tp_base and tp_bases elements and I've set them to the >> base type object (and a tuple containing the base type object) before I >> call PyType_Ready but in Python the base class isn't recognised. Is there >> anything obvious I'm missing? > > Well, I can't

Wrapping C++ Class Heirachy in Python

2005-04-18 Thread Andrew Wilkinson
about creating types for this. I've found the tp_base and tp_bases elements and I've set them to the base type object (and a tuple containing the base type object) before I call PyType_Ready but in Python the base class isn't recognised. Is there anything obvious I'm missing? Tha