kennethreitz/requests — pull request #2349 by sigmavirus24 (2014-11-18 04:18:55+00:00)
Title: Properly serialize RecentlyUsedContainers for cache

RecentlyUsedContainers are threadsafe so they require a lock and as such
cannot be serialized with pickle directly. To handle it, we need to
convert it to a dictionary first and then back when deserializing.

Fixes #2345