If you are getting error like
Can't pickle <type 'mod_wsgi.Input'>: attribute lookup mod_wsgi.Input failed
,
you are probably doing something wrong with request+session.
In my case the object I was storing in session had reference to request object saved inside it.