summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.4.82.4.8andy2011-07-202-1/+3
|
* added __future__ import to be 2.5 compat.andy2011-07-182-0/+2
|
* docsandy2011-07-171-1/+1
|
* version bump for 2.4.72.4.7andy2011-07-172-2/+2
|
* Added a `transaction` convenience method that eliminates boilerplate whenandy2011-07-174-0/+58
| | | | using pipelines while WATCHing variables.
* Pipelines can now be used as Context Managers. Thanks David Wolever. Fixes #160andy2011-07-174-84/+94
|
* Merge remote-tracking branch 'wolever/pipeline-context-manager'andy2011-07-171-21/+40
|\
| * Whoops, forgot `break`.David Wolever2011-07-131-0/+1
| |
| * Docs for proposed Pipeline context manager.David Wolever2011-07-131-22/+34
| |
| * Fixing example to include `finally: pipe.reset()`David Wolever2011-07-131-21/+27
| |
* | Fix for #161. Make sure we release the connection back to the pool afterandy2011-07-162-2/+11
| | | | | | | | execute is called in a pipeline.
* | typo in changelogandy2011-07-131-2/+2
| |
* | cosmetic changesandy2011-07-131-2/+3
|/
* credit to Randall Leeds and David Woleverandy2011-07-131-1/+2
|
* version bump to 2.4.62.4.6andy2011-07-132-6/+9
|
* documentation about pipelinesandy2011-07-131-0/+75
|
* Attempt our best to retry pipeline connection failures where they make sense.watchandy2011-07-121-12/+21
|
* nitpicky cleanupandy2011-07-121-22/+3
|
* Revert "Don't mask ConnectionError in Pipeline.execute()"Randall Leeds2011-07-111-1/+1
| | | | This reverts commit 9e918fdb481aef700561592121322a3a82072f72.
* only change self.watching when commands succeedRandall Leeds2011-07-111-1/+2
|
* remove obsolete server_commands test_(un)watchRandall Leeds2011-07-111-30/+0
|
* reset() and unwatch should react to responsesRandall Leeds2011-07-111-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_fixesRandall Leeds2011-07-112-34/+48
|\
| * Whoops, shouldn't be changing 'self.transaction'David Wolever2011-07-111-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 Wolever2011-07-112-33/+48
| |
* | Don't mask ConnectionError in Pipeline.execute()Randall Leeds2011-07-111-3/+3
| |
* | Merge remote-tracking branch 'andymccurdy/watch' into watch_fixesRandall Leeds2011-07-115-119/+193
|\ \ | |/ | | | | | | | | Conflicts: redis/client.py tests/server_commands.py
| * ensure UNWATCH gets called properlyandy2011-07-111-1/+16
| |
| * Merge branch 'master' into watchandy2011-07-113-21/+38
| |\ | | | | | | | | | | | | Conflicts: CHANGES
| | * remove PUBLISH from the PubSub object. Can't PUBLISH from any connection ↵Andy McCurdy2011-07-112-8/+9
| | | | | | | | | | | | 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 McCurdy2011-07-112-12/+29
| | | | | | | | | | | | 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 McCurdy2011-07-114-36/+136
| |/ | | | | | | This fix moves WATCH and UNWATCH to the Pipeline class, where they belong and tests to prove they work.
| * Fix for #153, can only reliably check the last byte of the responseAndy McCurdy2011-07-102-3/+4
| |
* | Merge remote-tracking branch 'wolever/threadsafe_transactions' into watch_fixesRandall Leeds2011-07-081-34/+120
|\ \ | | | | | | | | | | | | Conflicts: redis/client.py
| * | First quick pass as a subclass of Redis which is bound to one connectionDavid Wolever2011-07-071-12/+112
| | |
* | | test that pipeline() frees a watching clientRandall Leeds2011-07-071-0/+9
| | |
* | | fix #149 - hold connection for duration of WATCHRandall Leeds2011-07-071-9/+23
| |/ |/|
* | no reason that these should call list_or_argsAndy McCurdy2011-06-291-12/+6
| |
* | Merge pull request #150 from jdavisp3/watch-error-2011-06-27Andy McCurdy2011-06-271-1/+2
|\ \ | |/ |/| Provide WatchError in the top-level module.
| * Provide WatchError in the top-level module.Dave Peticolas2011-06-271-1/+2
|/
* updated changelogAndy McCurdy2011-06-211-0/+3
|
* Merge branch 'master' of github.com:andymccurdy/redis-pyAndy McCurdy2011-06-211-18/+24
|\
| * Merge pull request #143 from Rafiot/variadic_commandsAndy McCurdy2011-06-131-18/+24
| |\ | | | | | | Variadic commands
| | * add variadic versions of L/RPUSHRaphaël Vinot2011-06-111-6/+8
| | |
| | * add variadic version of HDELRaphaël Vinot2011-06-111-3/+4
| | |
| | * add variadic versions of SADD, SREM and ZREMRaphaël Vinot2011-06-111-9/+12
| |/
* | notes about LREM order of args and PubSub objects not being threadsafe.Andy McCurdy2011-06-211-0/+4
|/
* version bump 2.4.5Andy McCurdy2011-06-102-2/+4
|
* fix for PythonParser when reading empty stringsAndy McCurdy2011-06-102-1/+6
|
* added VERSION as a tuple based on the __version__ stringAndy McCurdy2011-06-071-0/+1
|