Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #10835
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: making my extensions work together |
| Date | 2011-08-04 03:22 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <j1d39m$p3l$1@reader1.panix.com> (permalink) |
| References | <j1cs2t$j2f$1@news.jpl.nasa.gov> |
In <j1cs2t$j2f$1@news.jpl.nasa.gov> "Mathew" <myeates@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
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
making my extensions work together "Mathew" <myeates@jpl.nasa.gov> - 2011-08-03 18:19 -0700
Re: making my extensions work together John Gordon <gordon@panix.com> - 2011-08-04 03:22 +0000
Re: making my extensions work together Stefan Behnel <stefan_ml@behnel.de> - 2011-08-04 08:00 +0200
Re: making my extensions work together Chris Angelico <rosuav@gmail.com> - 2011-08-04 08:08 +0100
Re: making my extensions work together "Mathew" <myeates@jpl.nasa.gov> - 2011-08-04 06:48 -0700
Re: making my extensions work together "Mathew" <myeates@jpl.nasa.gov> - 2011-08-04 07:04 -0700
csiph-web