| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
fixes #571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
redis-py maintained backwards compatibility by keeping the old "Redis"
class around for quite some time. While no doubt a convenience for folks
who relied on it, the presence of both Redis and StrictRedis causes
a number of support issues and general confusion. With 3.0, we're
breaking a few things to make redis-py better going forward.
This change removes the old Redis class. We also renamed the StrictRedis
class to Redis and aliased StrictRedis to Redis. For people that have
been using StrictRedis, this should not change anything. You can continue
doing things as you are.
People still using the legacy Redis class will need to update the argument
order for the SETEX, LREM and ZADD commands. Additionally, the return values
for TTL and PTTL now return the integer values -1 when a key exists but
has no expire time and -2 when a key does not exist. Previously these
cases returned a None value in the Redis class.
|
| |
|
|\ |
|
| |
| |
| |
| | |
Remove workaround for handling unicode with older Pythons.
|
| |
| |
| |
| | |
All supported Python versions support the with statement.
|
| | |
|
|/
|
|
| |
allow commands that expect 1 or more keys to fail gracefully when 0 keys are provided
|
|
|
|
|
|
|
|
|
| |
ResponseErrors generated by commands executed in a pipeline now includes the
command position in the pipeline and the actual command sent to the Redis
server. For example:
Command # 3 (LPUSH c 3) of pipeline caused error: <actual error message from
Redis server>
|
|
|