Erik Stephens
mod_python at 24ksoftware.com
Tue Mar 9 14:31:29 EST 2004
On Tue, 9 Mar 2004, Michael S. Fischer wrote: > David Geller writes: > > > Suggestion: > > Perhaps what would be handy: a special python function call, > > implemented via the API, to allow setting/getting of objects > > global to all the forked children for a particular named > > interpreter. These objects might be accessible through the > > req object, for example. I don't know enough to judge... > > > > Is this feaible? Useful (well, it would be to me...)? Easy/hard? > > Why don't you just use on-disk storage (e.g. anydbm) or a remote db for > this? Why reinvent the wheel? Doesn't this limit you to using pickle-able objects only then? There are some important things that don't fall under this category (e.g. db connections). Best regards, Erik
|