[C++-sig] Crash at shutdown

2012-02-10 Thread Gennadiy Rozental
Hi, I need help with a crash I observe both on windows and Linux. I admit my use case is somewhat complicated, but that's reality. So, my problem consists form 3 components. Let's call them A, B, and C: A is Python *extension* library (dll/so). This is really just an infrastructure layer which he

Re: [C++-sig] Crash at shutdown

2012-02-10 Thread Jim Bosch
On 02/10/2012 04:57 PM, Gennadiy Rozental wrote: Hi, I need help with a crash I observe both on windows and Linux. I admit my use case is somewhat complicated, but that's reality. So, my problem consists form 3 components. Let's call them A, B, and C: A is Python *extension* library (dll/so). T

Re: [C++-sig] How to define a Python metaclass with Boost.Python?

2012-02-10 Thread Jim Bosch
Sorry about the long delay... On 02/08/2012 09:24 AM, Paul-Cristian Manta wrote: In my application I have a base Event class and both C++ and Python inherit from this base and define new types of events. Clients can subscribe a certain function to a certain type of event. >>> events = EventDi

Re: [C++-sig] boost::python handles boost::shared_ptr specially...

2012-02-10 Thread Jim Bosch
On 02/06/2012 11:33 AM, Neal Becker wrote: Will std::shared_ptr just work also? Just tried the experiment, albeit with slightly old versions. As of gcc 4.4 (with -std=gnu++0x) and Boost 1.47, it looks like Boost.Python doesn't even recognize std::shared_ptr as any kind of smart pointer, let