jamesls/fakeredis — pull request #52 by bwu (2014-05-12 22:27:35+00:00)
Title: Update sadd to write values as strings

Pyredis writes values as strings for most things, including sadd. This change writes sets as strings:

In [2]: redis.sadd('test_set', *range(3))
Out[2]: 3
In [3]: redis.smembers('test_set')
Out[3]: set(['1', '0', '2'])