Re: [C++-sig] Boost.Python: wrapping classes instead of functions???

2009-09-11 Thread David Roy
Thanks for the reply. Unfortunately I'm sure that it's the C++ code that's being called in both cases (I put a pdb.set_trace() in the Python code that shouldn't be called and a TRACE in the C++ code that should be called). Some more information: - there are 148 calls to the function AddTangentAn

Re: [C++-sig] Boost.Python: wrapping classes instead of functions???

2009-09-11 Thread Nicolas Lelong
David wrote: - I'm using a std::map that will be filled with more than 1 entries: it's a private member of the class in the first case and a global in the second case That may be dumb, but are you sure that you reset your global data structures before or after your free function call. When

Re: [C++-sig] Boost.Python: wrapping classes instead of functions???

2009-09-11 Thread troy d. straszheim
David Roy wrote: Don't know if some of these additional info is useful... Not really. Without runnable examples we'd just be guessing. -t ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig