Re: [C++-sig] two pitfals when extending c++ classes from python

2011-10-25 Thread Ralf Grosse-Kunstleve
Hi Holger, chances that Dave, Joel, or me get to work on the tutorial are very small. But if you send me updated files I'll check them in. Maybe simpler would be to add to the FAQ. Ralf On Tue, Oct 25, 2011 at 3:50 AM, Holger Brandsmeier wrote: > Dear list, > > The boost_python Tutorial describes

[C++-sig] two pitfals when extending c++ classes from python

2011-10-25 Thread Holger Brandsmeier
Dear list, The boost_python Tutorial describes nicely and very brief how to subclass a boost::python exported class in python. I stumbeled over two pitfalls, which I did not expect by reading the tutorial. 1) When you put a wrapper class around a pure virtual class, you have to remove the "no_in