title: python threadsafe object cache
body: <p>I have implemented a python webserver. Each http request spawns a new thread.
  I have a requirement of caching objects in memory and since its a webserver, I want the cache to be thread safe. Is there a standard implementatin of a thread safe object cache in python? I found the following </p>
  
  <p><a href="http://freshmeat.net/projects/lrucache/" rel="noreferrer">http://freshmeat.net/projects/lrucache/</a></p>
  
  <p>This does not look to be thread safe. Can anybody point me to a good implementation of thread safe cache in python?</p>
  
  <p>Thanks!</p>