| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| | |
|
|\ \
| | |
| | | |
GEOHASH response may contain None elements
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
messages
Signed-off-by: Xabier Eizmendi <xeizmendi@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Both Python 2.7 & Python 3 have the types bytes. On Python 2.7, it is an
alias for the type str, same as what was previously defined in
_compat.py.
|
| |
| |
| |
| | |
Stream message now respect the decode_responses flag.
|
| |
| |
| |
| |
| |
| |
| | |
Redis 5.0.1 and beyond require that COUNT be specified as a positive
integer. Since we can't guess the maximum possible value (UULONG_MAX
can vary based on server architecture), force min/max/count to be
required arguments
|
| |
| |
| |
| |
| |
| |
| | |
When incr=True and xx=True and an element is specified that doesn't exist
the Redis server returns None. redis-py now does this as well.
Fixes #1084
|
|\ \
| | |
| | | |
Re-fix the recently broken INFO parsing, see #1018
|
| | |
| | |
| | |
| | |
| | | |
The value part of the info line may contains : in many cases,
most importantly an IPv6 slave address, may cause the parser to crash.
|
|\ \ \
| | | |
| | | | |
Add client kill with filter
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
changed skipme to a bool
use a list to accumulate filter options
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
|
|/ / / |
|
| | | |
|
|/ / |
|
| |
| |
| |
| | |
Fixes #1070
|
| |
| |
| |
| | |
Fixes #559
|
| | |
|
|\ \
| | |
| | | |
add 'decrby' method
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fixes a KeyError in empty `options` dict at sort's return
|
| | |/
| |/|
| | |
| | | |
Fixes #924
|
| | |
| | |
| | |
| | | |
Fixes #951
|
|\ \ \
| | | |
| | | | |
Enforce ssl_cert_reqs='required' by default
|
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes #1053
Fixes #635
Fixes #766
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes #649
Fixes #954
Fixes #638
Fixes #721
Fixes #955
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Everyone is using Redis 2.6 or greater, right? The Lua lock implementation
is so much nicer and less buggy.
Fixes #1031
Fixes #902
Fixes #793
Fixes #610
|
| | | |
| | | |
| | | |
| | | | |
fixes #965
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This should be backwards compatible since DataError is a subclass of
RedisError.
|
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously MSET, MSETNX and ZADD accepted multiple ways to specify the
mapping of keys to values including via **kwargs. This turned out to be
a poor choice. As Redis evolved and added additional options to the ZADD
command, these options couldn't be specified in redis-py without possible
element name conflictd. This fixes that going forward and makes the commands
simpler.
|
|\ \ \ \
| |/ / /
|/| | | |
Adding a NOSAVE option to the SHUTDOWN command
|
| | | | |
|
| | | | |
|
| | | | |
|