summaryrefslogtreecommitdiff
path: root/redis/client.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * python2.5 compatAndy McCurdy2013-07-311-1/+1
| |
| * pep8 fixingAndy McCurdy2013-07-311-14/+14
| |
| * adds support for sentinel's SENTINEL commandAnna Janackova2013-07-191-1/+25
| |
| * Merge pull request #365 from JustinHead/masterAndy McCurdy2013-07-181-0/+14
| |\ | | | | | | Add dump and restore commands.
| | * Add dump and restore commands.Justin Head2013-07-181-0/+14
| | |
| * | added docstring for zcountMax2013-07-181-0/+4
| |/
| * Merge pull request #357 from studies/info_parseAndy McCurdy2013-06-141-1/+1
| |\ | | | | | | Handling multiple collons when parsing INFO output
| | * Handling multiple collons when parsing INFO outputstudies2013-06-111-1/+1
| | |
| * | Merge branch 'master' into pytestandy2013-06-041-0/+4
| |\ \ | | |/ | | | | | | | | | Conflicts: tests/server_commands.py
| | * Add CONFIG RESETSTAT support.Yossi Gottlieb2013-06-041-0/+4
| | |
| * | pytest framework and server commandsandy2013-06-041-27/+40
| |/
* | unnecessary connection disconnectsandy2013-05-281-2/+0
| |
* | now that we have better control of the listen loop, we don't need to release ↵andy2013-05-281-4/+0
| | | | | | | | the connection when all channels are unsubscribed. fixes #284 and #275
* | use a property to control the pubsub listen/thread loopandy2013-05-281-2/+7
| |
* | change "suppress" to "ignore"andy2013-05-281-8/+10
| |
* | if (p)unsubscribing from all channels, remember to empty to channel cache. ↵andy2013-05-281-0/+4
| | | | | | | | fixes #274
* | refactored pubsub. needs testsandy2013-05-251-60/+139
|/
* Merge branch 'master' of github.com:andymccurdy/redis-pyandy2013-05-231-1/+2
|\
| * pep8 complianceCarpentier Pierre-Francois2013-05-151-1/+1
| |
| * error in the __call__ method of class ScriptCarpentier Pierre-Francois2013-05-151-1/+2
| | | | | | | | | | | | | | If "client" is a pipeline, and this pipeline is empty, python converts "client" to False when casting in bool because Class BasePipeline has a method __len__. "client" is reset to self.registered_client, and the script is not executed in the pipeline as it should. The correct test is to check if "client" equals None. see http://stackoverflow.com/questions/100732/why-is-if-not-someobj-better-than-if-someobj-none-in-python for bool conversion (first answer).
* | use iterators for dict traversal in both python 2 and 3andy2013-05-231-2/+2
|/
* from_url supports URI without a port number, defaults to 6379Aaron Westendorf2013-05-101-1/+1
|
* DEL, HDEL, ZREM commands now return number of keys deleted. fixed #243andy2013-05-011-5/+6
|
* Adding incrby aliasKrzysztof Dorosz2013-04-281-0/+10
|
* remove offending pep8 line, travis ci should pass nowandy2013-04-271-2/+0
|
* testing travis-ci pep8 integrationandy2013-04-271-0/+2
|
* pep8andy2013-04-271-1/+1
|
* Implement extended set options added in Redis 2.6.12.george yoshida2013-04-271-1/+0
| | | | - fix wording/formatting
* Implement extended set options added in Redis 2.6.12.george yoshida2013-04-271-1/+1
| | | | - support Python 3.x
* Implement extended set options added in Redis 2.6.12.george yoshida2013-04-271-4/+35
| | | | | | SPECS : - http://redis.io/commands/set - https://github.com/antirez/redis/issues/931
* pep8andy2013-04-221-0/+1
|
* Merge branch 'mapleoin-master'andy2013-04-221-2/+26
|\
| * Merge branch 'master' of git://github.com/mapleoin/redis-py into mapleoin-masterandy2013-04-221-2/+26
| |\ | | | | | | | | | | | | Conflicts: redis/client.py
| | * use response callbacks for sort() with tuples to work with pipelinesIonuț Arțăriși2011-10-111-9/+18
| | |
| | * add an optional argument to sort to make it return tuplesIonuț Arțăriși2011-10-101-2/+17
| | |
* | | Merge pull request #338 from stephan-hof/corrupted_pipeline_socketAndy McCurdy2013-04-221-2/+9
|\ \ \ | | | | | | | | socket gets corrupted if errors in pipeline happen
| * | | Add python3 and python2.5 compatibilityhofmockel2013-04-191-2/+2
| | | |
| * | | Read all command responses of a pipelinehofmockel2013-04-171-2/+9
| | | | | | | | | | | | | | | | | | | | Otherwise a error makes the responses stuck in the socket. Which leads to wrong responses for the following commands
* | | | Merge pull request #327 from pabelanger/pep8Andy McCurdy2013-04-221-1/+3
|\ \ \ \ | |_|/ / |/| | | Format code per pep8 guidelines
| * | | Format code per pep8 guidelinesPaul Belanger2013-03-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | A simple patch to enable pep8 in tox and format our code properly. Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
* | | | math is hardandy2013-04-221-2/+2
| | | |
* | | | added PSETEXandy2013-04-221-8/+12
| | | |
* | | | Merge branch 'psetex' of git://github.com/yamt/redis-py into yamt-psetexandy2013-04-221-0/+7
|\ \ \ \ | |_|/ / |/| | |
| * | | implement PSETEX commandyamamoto2012-10-311-0/+7
| | | |
* | | | allow client.transaction() to return the value of func based on kwarg. fix ↵andy2013-04-151-2/+4
| | | | | | | | | | | | | | | | for #331
* | | | Catch exception, not anything (which could be KeyboardInterrupt).Lucian Branescu Mihaila2013-04-101-2/+2
| |/ / |/| |
* | | 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.