[C++-sig] returning a wrapper instance exposed in the other module is not converted to its owner PyObject

David Abrahams dave at boost-consulting.com
Tue Dec 13 17:57:31 CET 2005

Shin-ichi MORITA <shin1_morita at yahoo.co.jp> writes:

> Roman Yakovenko <roman.yakovenko at gmail.com> wrote:
>> You are missing __init__ method. It is a must to
>> call
>> module1.Derived.__init__( self )
> I think that __init__() is implicitly called because
> __init__() is not overriden.

It is not.  Listen to Roman.

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list