Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | A base class for server-side exceptions to be grouped by | Matt Robenolt | 2013-03-27 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is important if you want to detect if there was an issue that resulted from the server being broken specifically, as opposed to the client issuing a bad command. See: https://github.com/disqus/nydus/pull/31 Also, let me know if there are other exceptions that could extend the base `ServerError`. These are just the two that stood out. | |||||
* | | | | | Do not discard pipeline unless in multi. | Pete Aykroyd | 2013-03-01 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes an error that occurred if you exec'd a pipeline on which you hadn't called `multi()`. When an error happened, the code was automatically calling discard. This causes an a 'DISCARD without MULTI' error from redis which obscures the actual cause of the error. | |||||
* | | | | | fix for #322 | andy | 2013-02-25 | 1 | -5/+4 | |
| | | | | | ||||||
* | | | | | Switched callback for SREM from bool to int. | Ronnie Kolehmainen | 2013-01-25 | 1 | -2/+2 | |
| | | | | | ||||||
* | | | | | Convert response from bytes to str for Python 3 compatibility | Nathan Wan | 2013-01-20 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Convert the responses for BGSAVE and BGREWRITEAOF from bytes to str using nativestr(), just like the others. Otherwise parse_response will return False for these two commands in Python 3. | |||||
* | | | | | Add CLIENT GETNAME/SETNAME support | bitterb | 2013-01-16 | 1 | -0/+12 | |
| | | | | | ||||||
* | | | | | Pipelines now have a __len__() method. | Jon Parise | 2013-01-06 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The length of a pipeline is defined as the length of its command stack. This makes it easy to inspect the number of batched commands and to write conditional logic for empty pipelines. | |||||
* | | | | | Merge pull request #301 from aouyar/master | Andy McCurdy | 2012-11-30 | 1 | -18/+26 | |
|\ \ \ \ \ | | | | | | | | | | | | | Implement support for passing an arg to INFO command | |||||
| * | | | | | Fix parsing of floats in sub dicts in INFO cmd. | Ali Onur Uyar | 2012-11-27 | 1 | -15/+12 | |
| | | | | | | ||||||
| * | | | | | Leave handling of older versions for INFO cmd to the user. | Ali Onur Uyar | 2012-11-27 | 1 | -12/+8 | |
| | | | | | | ||||||
| * | | | | | Implement support for passing an arg to INFO command. | Ali Onur Uyar | 2012-11-17 | 1 | -3/+18 | |
| | |_|/ / | |/| | | | ||||||
* | | | | | Fixed bug in bitcount with start or end param equal to 0 | Tim | 2012-11-25 | 1 | -2/+3 | |
| | | | | | ||||||
* | | | | | Fixed bug in list_or_args() helper function in python3.x | Roman Imankulov | 2012-11-21 | 1 | -3/+3 | |
| | | | | | ||||||
* | | | | | bump to 2.7.22.7.2 | andy | 2012-11-16 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | always raise parse error exceptions in multi/exec pipelines as a result of this | andy | 2012-11-16 | 3 | -2/+14 | |
|/ / / / | | | | | | | | | | | | | server change: https://groups.google.com/forum/?hl=en&fromgroups=#!topic/redis-db/VUiEFT8U8U0 | |||||
* | | | | 2.7.1 version bump, include tests with source dist2.7.1 | andy | 2012-10-08 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | 2.7.0, version bump2.7.0 | andy | 2012-10-07 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | timedelta.total_seconds is only available in python 2.7+. Fixes #280 | andy | 2012-10-07 | 1 | -4/+5 | |
| | | | | ||||||
* | | | | fix python3 tests | andy | 2012-10-07 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | added CLIENT LIST/CLIENT KILL commands | andy | 2012-10-07 | 1 | -0/+20 | |
| | | | | ||||||
* | | | | High precision floating point values are now properly sent to the Redis server. | andy | 2012-10-07 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | Fixes #227 | |||||
* | | | | Merge branch 'master' of github.com:andymccurdy/redis-py | andy | 2012-10-07 | 1 | -0/+14 | |
|\ \ \ \ | ||||||
| * \ \ \ | Merge pull request #273 from uvNikita/master | Andy McCurdy | 2012-10-07 | 1 | -0/+14 | |
| |\ \ \ \ | | | | | | | | | | | | | Added INCRBYFLOAT and HINCRBYFLOAT commands | |||||
| | * | | | | Implemented hincrbyfloat command | Nikita Uvarov | 2012-08-21 | 1 | -1/+7 | |
| | | | | | | ||||||
| | * | | | | Implemented incrbyfloat command | Nikita Uvarov | 2012-08-21 | 1 | -0/+8 | |
| | | | | | | ||||||
* | | | | | | PEXPIRE/PEXPIREAT/PTTL commands | andy | 2012-10-07 | 1 | -14/+26 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #282 from flupke/pexpire | Andy McCurdy | 2012-10-07 | 1 | -0/+14 | |
|\ \ \ \ \ | | | | | | | | | | | | | Added PEXPIRE/PTTL support (redis 2.6.0) | |||||
| * | | | | | added PEXPIRE/PTTL support (redis 2.6.0) | Luper Rouch | 2012-09-12 | 1 | -0/+14 | |
| | |_|/ / | |/| | | | ||||||
* | | | | | Added optional `number` argument to srandmember. Fix for #286 | andy | 2012-10-07 | 1 | -3/+10 | |
| | | | | | ||||||
* | | | | | python3 compat | andy | 2012-10-07 | 1 | -2/+3 | |
| | | | | | ||||||
* | | | | | pipelines now raise errors by default. | andy | 2012-10-07 | 1 | -17/+37 | |
|/ / / / | | | | | | | | | | | | | | | | | pass `raise_on_error=False` to `pipeline.execute()` if you prefer the old behavior. | |||||
* | | | | Script doesn't take keys | andy | 2012-08-24 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | pass the script object, not the lua string | andy | 2012-08-23 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | fixed a Python3 incompatibiltiy in the previous commit | andy | 2012-08-23 | 1 | -1/+2 | |
| | | | | ||||||
* | | | | implementing LUA scripting, still need tests. | andy | 2012-08-23 | 3 | -13/+131 | |
| | | | | ||||||
* | | | | clearer what's happening | andy | 2012-08-19 | 1 | -4/+4 | |
|/ / / | ||||||
* | | | make sure tests pass on redis 2.4. merges #271 | andy | 2012-08-15 | 1 | -2/+4 | |
| | | | ||||||
* | | | Added TIME response callback | Jason Knight | 2012-08-15 | 1 | -0/+1 | |
| | | | ||||||
* | | | Added TIME command | Jason Knight | 2012-08-15 | 1 | -0/+5 | |
| | | | ||||||
* | | | adding SkipTests for BITOP/BITCOUNT commands below redis 2.6, fixing logic ↵2.6.2 | andy | 2012-08-15 | 2 | -9/+12 | |
| | | | | | | | | | | | | to work with python3 | |||||
* | | | Merge pull request #257 from not-napoleon/master | Andy McCurdy | 2012-08-15 | 1 | -3/+20 | |
|\ \ \ | | | | | | | | | Feature/Bitopt and Bitcount | |||||
| * | | | Added bitop command. | Mark Tozzi | 2012-06-20 | 1 | -0/+3 | |
| | | | | ||||||
| * | | | Support for bitcount (new in redis 2.6) | Mark Tozzi | 2012-06-19 | 1 | -3/+17 | |
| | | | | ||||||
* | | | | redis 2.4 occasionally returns null values in CONFIG GET | andy | 2012-08-15 | 1 | -2/+3 | |
| | | | | ||||||
* | | | | cleaned up tests to not use decode_responses=True. this was masking some ↵ | andy | 2012-08-15 | 1 | -10/+13 | |
| | | | | | | | | | | | | | | | | errors from the recent python3 port. | |||||
* | | | | Merge remote-tracking branch 'jparise/cls-from_url' | andy | 2012-08-14 | 2 | -26/+33 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: redis/client.py redis/utils.py | |||||
| * | | | | Improved `from_url()` support. | Jon Parise | 2012-07-06 | 2 | -24/+33 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `from_url()` is now implemented as a classmethod. The previous implementation always returned instances of the `Redis` class. This new approach lets us construct StrictRedis instances (or any other class derived from StrictRedis, including Redis). `utils.from_url()` has been preserved for backwards compatibility. Also, both versions of `from_url()` now pass along any additional keyword arguments to the class's initializer. | |||||
* | | | | | version bump to 2.6.12.6.1 | andy | 2012-08-14 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Raise an exception if there's any kind of error. Fix for #251. | andy | 2012-08-14 | 1 | -4/+7 | |
| | | | | | ||||||
* | | | | | Optimized code by caching certain bytestring literals | Alex Grönholm | 2012-08-07 | 2 | -15/+22 | |
| | | | | |