[C++-sig] Pyste and inheritance from a templated class

Nicodemus nicodemus at globalite.com.br
Tue Apr 15 01:35:41 CEST 2003

Nicodemus wrote:

> Patrick Hartling wrote:
>> I just returned from a trip, and I am trying out the features added 
>> to Pyste during the last several days.  With the latest code, I have 
>> encountered a problem related to inheritance relationships between 
>> C++ class.  I am not sure if this is a bug or if there is something 
>> new I have to do in my .pyste file.  What I am seeing is that Pyste 
>> does not include the boost::python::bases<> template parameter when a 
>> boost::python::class_<> is declared for a class derived from a 
>> templated class.
>> The attached code demonstrates the problem.  Pyste generates the 
>> correct Boost.Python code if I use AllFromHeader(), but I can't 
>> always use that function (unfortunately).  Pyste from Boost 1.30.0 
>> works as I expect, and again, this may be something that I missed 
>> while reviewing the large volume email I received while I was away.  
>> Thanks.
>>  -Patrick
> It's a bug, for sure! I will take a look into it. Thanks!

Fixed in CVS. Thanks again for the report Patrick!


More information about the Cplusplus-sig mailing list