Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | fix for #217 to make the INFO command parsing more tolerant | andy | 2012-01-13 | 1 | -1/+3 | |
| | | ||||||
* | | implemented the OBJECT command. Fix for #137 | andy | 2011-10-28 | 1 | -5/+16 | |
| | | ||||||
* | | Fix spacing from DEBUG OBJECT pull request. | andy | 2011-10-24 | 1 | -15/+18 | |
| | | ||||||
* | | Merge branch 'master' of github.com:andymccurdy/redis-py | andy | 2011-10-21 | 1 | -0/+19 | |
|\ \ | ||||||
| * \ | Merge pull request #204 from smanek/master | Andy McCurdy | 2011-10-21 | 1 | -0/+19 | |
| |\ \ | | | | | | | | | Add support for DEBUG OBJECT command | |||||
| | * | | add a debug_object command - so we can get a key's size (among other things) | Shaneal Manek | 2011-10-13 | 1 | -0/+19 | |
| | | | | ||||||
* | | | | keep command names alphabetized | andy | 2011-10-14 | 1 | -3/+3 | |
|/ / / | ||||||
* | | | Added __del__ methods for classes that hold on to resources that need to be ↵ | andy | 2011-10-14 | 1 | -2/+23 | |
|/ / | | | | | | | cleaned up. This should prevent resource leakage when these objects leave scope due to misuse or unhandled exceptions. | |||||
* | | added the ECHO command for completeness | andy | 2011-10-10 | 1 | -0/+4 | |
| | | ||||||
* | | manually reconnect the connection in the PubSub class. This avoids blowing ↵ | andy | 2011-10-10 | 1 | -0/+3 | |
| | | | | | | | | out the stack. Fixes #179 and #195. | |||||
* | | TTL is StrictRedis returns -1 rather than None for keys with no expiration. ↵ | andy | 2011-10-10 | 1 | -1/+8 | |
| | | | | | | | | Redis remains unchanged. | |||||
* | | Merge branch 'master' of github.com:andymccurdy/redis-py | andy | 2011-10-10 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Merge pull request #175 from strongh/master | Andy McCurdy | 2011-10-06 | 1 | -3/+3 | |
| |\ | | | | | | | ZADD and SADD return integers | |||||
| | * | SADD also returns int | Homer Strong | 2011-08-03 | 1 | -2/+2 | |
| | | | ||||||
| | * | ZADD returns int, instead of bool | Homer Strong | 2011-08-03 | 1 | -3/+3 | |
| | | | ||||||
* | | | anal syntax tweak | andy | 2011-08-22 | 1 | -1/+1 | |
|/ / | ||||||
* | | Remove documentation reference to timezones for Locks. As Unix time is used, ↵ | nicholasknight | 2011-08-15 | 1 | -2/+2 | |
|/ | | | | timezone should be irrelevant. | |||||
* | StrictRedis gets it's own Pipeline class. Fix for #174. | andy | 2011-08-02 | 1 | -4/+26 | |
| | ||||||
* | Merge branch 'master' of github.com:andymccurdy/redis-py | andy | 2011-08-01 | 1 | -3/+1 | |
|\ | ||||||
| * | Fix zadd: 'tuple' object has no attribute 'reverse' (and args is a tuple) | Raphaël Vinot | 2011-07-28 | 1 | -3/+1 | |
| | | ||||||
* | | Updated setex in StrictRedis to be compliant with Redis's argument ↵ | andy | 2011-08-01 | 1 | -2/+9 | |
|/ | | | | signature. Older version to Redis subclass. | |||||
* | Renamed the base client class to StrictRedis, replacing ZADD and LREM in ↵ | andy | 2011-07-26 | 1 | -26/+83 | |
| | | | | favor of their official argument order. The Redis class is now a subclass of StrictRedis, implementing the legacy redis-py implementations of ZADD and LREM. Docs have been updated to suggesting the use of StrictRedis. | |||||
* | added __future__ import to be 2.5 compat. | andy | 2011-07-18 | 1 | -0/+1 | |
| | ||||||
* | Added a `transaction` convenience method that eliminates boilerplate when | andy | 2011-07-17 | 1 | -0/+16 | |
| | | | | using pipelines while WATCHing variables. | |||||
* | Pipelines can now be used as Context Managers. Thanks David Wolever. Fixes #160 | andy | 2011-07-17 | 1 | -0/+6 | |
| | ||||||
* | Fix for #161. Make sure we release the connection back to the pool after | andy | 2011-07-16 | 1 | -2/+8 | |
| | | | | execute is called in a pipeline. | |||||
* | cosmetic changes | andy | 2011-07-13 | 1 | -2/+3 | |
| | ||||||
* | Attempt our best to retry pipeline connection failures where they make sense.watch | andy | 2011-07-12 | 1 | -12/+21 | |
| | ||||||
* | nitpicky cleanup | andy | 2011-07-12 | 1 | -22/+3 | |
| | ||||||
* | Revert "Don't mask ConnectionError in Pipeline.execute()" | Randall Leeds | 2011-07-11 | 1 | -1/+1 | |
| | | | | This reverts commit 9e918fdb481aef700561592121322a3a82072f72. | |||||
* | only change self.watching when commands succeed | Randall Leeds | 2011-07-11 | 1 | -1/+2 | |
| | ||||||
* | reset() and unwatch should react to responses | Randall Leeds | 2011-07-11 | 1 | -3/+10 | |
| | | | | | | self.watching should not be set to True until a successful response from a WATCH is received. We can simplify management of this variable by completing the response cycle with an overridden parse_response(). | |||||
* | Merge remote-tracking branch 'wolever/watch' into watch_fixes | Randall Leeds | 2011-07-11 | 1 | -34/+23 | |
|\ | ||||||
| * | Whoops, shouldn't be changing 'self.transaction' | David Wolever | 2011-07-11 | 1 | -2/+1 | |
| | | | | | | | | Otherwise, if `.multi()` is called then `.reset()` is called, `.transaction` will remain `True` when it should be `False` | |||||
| * | Simplifying the Pipeline transaction logic. | David Wolever | 2011-07-11 | 1 | -33/+23 | |
| | | ||||||
* | | Don't mask ConnectionError in Pipeline.execute() | Randall Leeds | 2011-07-11 | 1 | -3/+3 | |
| | | ||||||
* | | Merge remote-tracking branch 'andymccurdy/watch' into watch_fixes | Randall Leeds | 2011-07-11 | 1 | -107/+128 | |
|\ \ | |/ | | | | | | | | | Conflicts: redis/client.py tests/server_commands.py | |||||
| * | ensure UNWATCH gets called properly | andy | 2011-07-11 | 1 | -1/+16 | |
| | | ||||||
| * | Merge branch 'master' into watch | andy | 2011-07-11 | 1 | -17/+25 | |
| |\ | | | | | | | | | | | | | Conflicts: CHANGES | |||||
| | * | remove PUBLISH from the PubSub object. Can't PUBLISH from any connection ↵ | Andy McCurdy | 2011-07-11 | 1 | -7/+0 | |
| | | | | | | | | | | | | that's currently [P]SUBSCRIBEd, so it doesn't make sense to keep it here. | |||||
| | * | Allow a custom callable to be passed to commands whose responses are parsed ↵ | Andy McCurdy | 2011-07-11 | 1 | -10/+25 | |
| | | | | | | | | | | | | with zset_score_pairs indicating how to cast the score value. Defaults to a float. Fix for #155 | |||||
| * | | WATCH and UNWATCH have been broken since 2.4 because of connection pooling. ↵ | Andy McCurdy | 2011-07-11 | 1 | -7/+85 | |
| |/ | | | | | | | This fix moves WATCH and UNWATCH to the Pipeline class, where they belong and tests to prove they work. | |||||
* | | Merge remote-tracking branch 'wolever/threadsafe_transactions' into watch_fixes | Randall Leeds | 2011-07-08 | 1 | -34/+120 | |
|\ \ | | | | | | | | | | | | | Conflicts: redis/client.py | |||||
| * | | First quick pass as a subclass of Redis which is bound to one connection | David Wolever | 2011-07-07 | 1 | -12/+112 | |
| | | | ||||||
* | | | fix #149 - hold connection for duration of WATCH | Randall Leeds | 2011-07-07 | 1 | -9/+23 | |
| |/ |/| | ||||||
* | | no reason that these should call list_or_args | Andy McCurdy | 2011-06-29 | 1 | -12/+6 | |
|/ | ||||||
* | add variadic versions of L/RPUSH | Raphaël Vinot | 2011-06-11 | 1 | -6/+8 | |
| | ||||||
* | add variadic version of HDEL | Raphaël Vinot | 2011-06-11 | 1 | -3/+4 | |
| | ||||||
* | add variadic versions of SADD, SREM and ZREM | Raphaël Vinot | 2011-06-11 | 1 | -9/+12 | |
| | ||||||
* | get a connection within the execute() method of the pipeline so we can ↵ | Andy McCurdy | 2011-06-06 | 1 | -49/+45 | |
| | | | | respond to a ConnectionError. Fix for #139 |