summaryrefslogtreecommitdiff
path: root/redis
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | A base class for server-side exceptions to be grouped byMatt Robenolt2013-03-271-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 Aykroyd2013-03-011-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 #322andy2013-02-251-5/+4
| | | | |
* | | | | Switched callback for SREM from bool to int.Ronnie Kolehmainen2013-01-251-2/+2
| | | | |
* | | | | Convert response from bytes to str for Python 3 compatibilityNathan Wan2013-01-201-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 supportbitterb2013-01-161-0/+12
| | | | |
* | | | | Pipelines now have a __len__() method.Jon Parise2013-01-061-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/masterAndy McCurdy2012-11-301-18/+26
|\ \ \ \ \ | | | | | | | | | | | | Implement support for passing an arg to INFO command
| * | | | | Fix parsing of floats in sub dicts in INFO cmd.Ali Onur Uyar2012-11-271-15/+12
| | | | | |
| * | | | | Leave handling of older versions for INFO cmd to the user.Ali Onur Uyar2012-11-271-12/+8
| | | | | |
| * | | | | Implement support for passing an arg to INFO command.Ali Onur Uyar2012-11-171-3/+18
| | |_|/ / | |/| | |
* | | | | Fixed bug in bitcount with start or end param equal to 0Tim2012-11-251-2/+3
| | | | |
* | | | | Fixed bug in list_or_args() helper function in python3.xRoman Imankulov2012-11-211-3/+3
| | | | |
* | | | | bump to 2.7.22.7.2andy2012-11-161-1/+1
| | | | |
* | | | | always raise parse error exceptions in multi/exec pipelines as a result of thisandy2012-11-163-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.1andy2012-10-081-1/+1
| | | |
* | | | 2.7.0, version bump2.7.0andy2012-10-071-1/+1
| | | |
* | | | timedelta.total_seconds is only available in python 2.7+. Fixes #280andy2012-10-071-4/+5
| | | |
* | | | fix python3 testsandy2012-10-071-2/+2
| | | |
* | | | added CLIENT LIST/CLIENT KILL commandsandy2012-10-071-0/+20
| | | |
* | | | High precision floating point values are now properly sent to the Redis server.andy2012-10-071-2/+4
| | | | | | | | | | | | | | | | Fixes #227
* | | | Merge branch 'master' of github.com:andymccurdy/redis-pyandy2012-10-071-0/+14
|\ \ \ \
| * \ \ \ Merge pull request #273 from uvNikita/masterAndy McCurdy2012-10-071-0/+14
| |\ \ \ \ | | | | | | | | | | | | Added INCRBYFLOAT and HINCRBYFLOAT commands
| | * | | | Implemented hincrbyfloat commandNikita Uvarov2012-08-211-1/+7
| | | | | |
| | * | | | Implemented incrbyfloat commandNikita Uvarov2012-08-211-0/+8
| | | | | |
* | | | | | PEXPIRE/PEXPIREAT/PTTL commandsandy2012-10-071-14/+26
|/ / / / /
* | | | | Merge pull request #282 from flupke/pexpireAndy McCurdy2012-10-071-0/+14
|\ \ \ \ \ | | | | | | | | | | | | Added PEXPIRE/PTTL support (redis 2.6.0)
| * | | | | added PEXPIRE/PTTL support (redis 2.6.0)Luper Rouch2012-09-121-0/+14
| | |_|/ / | |/| | |
* | | | | Added optional `number` argument to srandmember. Fix for #286andy2012-10-071-3/+10
| | | | |
* | | | | python3 compatandy2012-10-071-2/+3
| | | | |
* | | | | pipelines now raise errors by default.andy2012-10-071-17/+37
|/ / / / | | | | | | | | | | | | | | | | pass `raise_on_error=False` to `pipeline.execute()` if you prefer the old behavior.
* | | | Script doesn't take keysandy2012-08-241-2/+2
| | | |
* | | | pass the script object, not the lua stringandy2012-08-231-1/+1
| | | |
* | | | fixed a Python3 incompatibiltiy in the previous commitandy2012-08-231-1/+2
| | | |
* | | | implementing LUA scripting, still need tests.andy2012-08-233-13/+131
| | | |
* | | | clearer what's happeningandy2012-08-191-4/+4
|/ / /
* | | make sure tests pass on redis 2.4. merges #271andy2012-08-151-2/+4
| | |
* | | Added TIME response callbackJason Knight2012-08-151-0/+1
| | |
* | | Added TIME commandJason Knight2012-08-151-0/+5
| | |
* | | adding SkipTests for BITOP/BITCOUNT commands below redis 2.6, fixing logic ↵2.6.2andy2012-08-152-9/+12
| | | | | | | | | | | | to work with python3
* | | Merge pull request #257 from not-napoleon/masterAndy McCurdy2012-08-151-3/+20
|\ \ \ | | | | | | | | Feature/Bitopt and Bitcount
| * | | Added bitop command.Mark Tozzi2012-06-201-0/+3
| | | |
| * | | Support for bitcount (new in redis 2.6)Mark Tozzi2012-06-191-3/+17
| | | |
* | | | redis 2.4 occasionally returns null values in CONFIG GETandy2012-08-151-2/+3
| | | |
* | | | cleaned up tests to not use decode_responses=True. this was masking some ↵andy2012-08-151-10/+13
| | | | | | | | | | | | | | | | errors from the recent python3 port.
* | | | Merge remote-tracking branch 'jparise/cls-from_url'andy2012-08-142-26/+33
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: redis/client.py redis/utils.py
| * | | | Improved `from_url()` support.Jon Parise2012-07-062-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.1andy2012-08-141-1/+1
| | | | |
* | | | | Raise an exception if there's any kind of error. Fix for #251.andy2012-08-141-4/+7
| | | | |
* | | | | Optimized code by caching certain bytestring literalsAlex Grönholm2012-08-072-15/+22
| | | | |