making my extensions work together

Mathew myeates at jpl.nasa.gov
Thu Aug 4 10:04:39 EDT 2011


okay. It worked to make my 3'rd party library dynamic. Hopefully this will 
help someone else in the future.


"Mathew" <myeates at jpl.nasa.gov> wrote in message 
news:j1cs2t$j2f$1 at news.jpl.nasa.gov...
> This isn't exactly a Python question but maybe someone here has run into 
> this.
>
> I have 2 extensions and they both access a function in a (static) library. 
> The function maintains state information using a static variable.
>
> This doesn't work. When one of my extensions changes the variable value, 
> the other extension does not see the change.
>
> Would it work if I made my library dynamic?
>
> This is on Windows XP compiling with MSVC 2008.
>
> -Mathew
> 





More information about the Python-list mailing list