sharing persisten cache between modules

Bart Ogryczak B.Ogryczak at
Mon Oct 23 18:26:42 CEST 2006

I´ve got a problem creating persistent cache, that would be shared
between modules. There a supermodule, which calls submodules. I´d like
submodules to use cache created in the supermodule. The only way I see
right now, is to pass it as function argument, but that would require a
change in API, which I´d prefer to avoid. Is this the only way?

More information about the Python-list mailing list