Re: [C++-sig] Subset of default python library

2009-09-10 Thread troy d. straszheim
Nat Goodspeed wrote: Mark Chandler wrote: Is there a small subset of the default python library that i can use for our embedded instance. Since this is part of a larger app that doesnt expect to have python installed thus we are including it with the program data. How ever there is alot of st

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

2009-09-10 Thread troy d. straszheim
David Roy wrote: and the profile was back to 54.0 seconds!!! Please could someone help me understand what's the difference and the mechanism underlying that? Probably that you're not running the code that you think you are. There should be no difference between member function and free funct

Re: [C++-sig] Subset of default python library

2009-09-10 Thread Nat Goodspeed
Mark Chandler wrote: Is there a small subset of the default python library that i can use for our embedded instance. Since this is part of a larger app that doesnt expect to have python installed thus we are including it with the program data. How ever there is alot of stuff in there that we a

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

2009-09-10 Thread David Roy
Hi, I'm facing a very strange behavior that I cannot manage to explane. I'm currently working on a project of re-implementing Python functions in C++ in order to improve performance and I'm then creating Python extensions thanks to Boost. I implemented quite a heavy function that calculates tange