How can I make WSGI(Python) stateful?
I prefer working directly on wsgi, along with mako and psycopg.
It's good to know about Beaker, though I usually don't hold state in the server because I believe it reduces scalability. I either put it in the user's cookie, in the database tied to a token in the user's cookie, or in a redirect url.
I'm quite new in Python world. I come from java and ABAP world, where their application server are able to handle stateful request. 
Is it also possible in python using WSGI?
Or stateful and stateless are handled in other layer?