In <j1cs2t$j2f$1...@news.jpl.nasa.gov> "Mathew" <myea...@jpl.nasa.gov> writes:

> 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.

I'm not sure what you mean by "extension", but it might not be relevant.

Are these extensions, whatever they may be, part of the same program?
Or are they separate?

> This doesn't work. When one of my extensions changes the variable value, the 
> other extension does not see the change.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to