Re: [C++-sig] sharing code between different python extensions

2014-10-24 Thread Stefan Seefeld
On 23/10/14 10:33 AM, Wintersberger, Eugen wrote: > Hi Stefan > >> Python extension modules may not depend on each other in that way. >> (Arguably that is a Good Thing, as it avoids possible ABI compatibility >> issues.) >> What I suggest you do is either refactor the code such that your >> exte

Re: [C++-sig] Exposing simple polymorphism with boost python

2014-10-24 Thread Stefan Seefeld
On 23/10/14 03:38 AM, Erik Türke wrote: > Hi Python-Experts :-) > > > i am starting to get really frustrated trying to expose a simple C++ > polymorphism to python with boost::python. > I do have the following structure in C++: > > struct Base { > int typeID; > }; > > struct Der