Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-15 Thread Ben Fitzpatrick
>I'm sorry to say that I don't really understand the concept of making the >Python portion only an interface to the >underlying C++ code. Please could you >explain what that means? David, Sorry, I must not have communicated this well. I'll try again. It depends on how your code works, but th

Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-15 Thread Neal Becker
Does pybindgen interoperate with numpy? That would be required for me to use it. Ben Fitzpatrick wrote: > David, > > I'm still a newbie on this list myself, but I will tell you that for the > larger project which we were attempting to wrap, we had excellent luck > with Gustavo Carniero's Pybin

Re: [C++-sig] Advice sought on making a large C++ application a Python extension

2010-09-15 Thread David Aldrich
Hi Ben Thanks very much for your reply. Sorry that my response has been slow but I have been trying to digest yours. I have also taken a detour to investigate CMake. >As to how to make your functionality available with a Python >extension - I'm not sure exactly what kind of app you have, >but

Re: [C++-sig] gtkglext & mesa = __cxa_allocate_exception

2010-09-15 Thread Jakub Zytka
On 09/14/10 21:18, Leonard Ritter wrote: On Tue, Sep 14, 2010 at 9:12 PM, Leonard Ritter wrote: it seems that when gtk.glext is imported in python, and a boost python module hits a StopIteration exception (as it is usual for generators), the exception is not caught and the app segfaults. that