[Web-SIG] Alternative to threading.local, based on the stack

Manlio Perillo manlio_perillo at libero.it
Tue Jul 8 09:38:17 CEST 2008


Donovan Preston ha scritto:
> [...]
> It seems to me that what is really needed here is an extension of wsgi 
> that specifies how to get, set, and list request local storage, and for 
> people to use that instead of the threadlocal module. 

There seems to be something that I don't understand: why not just store 
the values inside the WSGI environ dictionary?

It is a per request dictionary, so it is really what you want.

 > [...]


Manlio Perillo


More information about the Web-SIG mailing list