[C++-sig] [Boost Python] Cannot call base method from within python extended class method

2015-01-09 Thread Tiago Coutinho
Hello, My problem is the following: I am trying to bind a third party C++ library to python using boost-python. This library has a class Element and a class Owner (the later takes ownership of an Element object). To make things interesting, Element defines a pure virtual method "get_float". The

Re: [C++-sig] boost python wrapping boost message queue problem

2015-01-09 Thread Holger Joukl
Hi, > I wrapped the boost ipc message queue into Python using Boost.Python. > Everything goes fine except I found that > > 1. the try_receive / try_send will block python when the mq is empty / full. > 2. when I use the wrapped message queue in one Python thread, any > other Python thread would be