Michael S. Fischer
michael at dynamine.net
Tue Mar 9 13:46:18 EST 2004
Erik Stephens writes: > > > 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). That's what middleware is for. Again, why reinvent the wheel? Best, --Michael
|