kennethreitz/requests — Issue #439: Make Session objects picklable
Author: sharat87
Created: 2012-02-18 12:16:35+00:00
State: open

Currently, when we try to pickle a `Session` object, we get this:

File "[...]python2.7/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle lock objects

The `Session` objects can be made pickleable rather easily. If you are willing to accept this functionality, I can create a pull request. I showed the [implementation](http://lo/site/serializing-python-requests-session-objects-for-fun-and-profit.html#implement) on my blog post about this.