r = redis.StrictRedis(host=shard['host'], port=shard['port'], charset='utf-8', decode_responses=True)
pipe = r.pipeline()
for key in keys:
pipe.lrange(key, 0, -1)
olists = pipe.execute()
Извлекает байтовые объекты вместо строк, несмотря на установку charset и decode_responses = True.