sharing data between modules

Moshe Zadka moshez at zadka.site.co.il
Fri Mar 23 12:14:18 EST 2001


On Fri, 23 Mar 2001, "Bruce Edge" <bedge at troikanetworks.com> wrote:

> Currently I register the classes with each other using class static data, 
> so they all have a reference to each other. Ideally, I'd like to be able
> to have a few globals that every module can see.  

Every module can see every other module. If you don't have circular
dependancies, life is even easier.

-- 
"I'll be ex-DPL soon anyway so I'm        |LUKE: Is Perl better than Python?
looking for someplace else to grab power."|YODA: No...no... no. Quicker,
   -- Wichert Akkerman (on debian-private)|      easier, more seductive.
For public key, finger moshez at debian.org  |http://www.{python,debian,gnu}.org




More information about the Python-list mailing list