title: get object from redis without eval?
body: <p>To get a key from memcache (using pylibmc), you do this:</p>
  
  <pre><code>client.set(key, {'object': 'dictionary'}, time=expire)
  client.get(key)
  </code></pre>
  
  <p>The same in redis is this:</p>
  
  <pre><code>redis.setex(key, expire, {'object': 'dictionary'})
  eval(redis.get(key) or 'None')
  </code></pre>
  
  <p>That last line doesn't look right to me. redis only seems to return strings. Is there a get redis to return the object in the same form that it was put in?</p>