Re: [C++-sig] When not to use static boost python library

2010-05-13 Thread Kun Hong
Nat Goodspeed wrote: I guess what the problem is should be that: another python extension, written in boost python, cannot access the types and functions exposed in my current extension. I am not clear why is it so, becaused it is exposed to the python interpreter already. If there are two py

Re: [C++-sig] When not to use static boost python library

2010-05-12 Thread Nat Goodspeed
Mr Kun Hong wrote: The lines in the documentation is: ''' It might be appropriate to use the static Boost.Python library in any of the following cases: * You are extending python and the types exposed in your dynamically-loaded extension module don't need to be used by any other Boost.

[C++-sig] When not to use static boost python library

2010-05-11 Thread Mr Kun Hong
Hi, I am new to boost python. I have some experience making python extension using pure C. Now I have a question: when should I not use static boost python library? I tried to search the archive a bit. But haven't found a good answer. I read the boost python library documentation, where the sect