summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* version bump!2.4Andy McCurdy2011-06-011-1/+1
|
* pipelines need the response_callback love, too. grammar fixes in docsAndy McCurdy2011-06-013-26/+46
|
* added ability for per-instance response callbacks. also, holy shit, ↵Andy McCurdy2011-06-012-477/+146
| | | | documentation!
* updating a few docstringsAndy McCurdy2011-05-311-2/+7
|
* support ZADD variable length args. deprecate the version passing score and ↵Andy McCurdy2011-05-313-7/+21
| | | | value (in the wrong order).
* test to prove allocation_stats from 2.2 INFO doesn't cause parse_info to ↵Andy McCurdy2011-05-251-0/+34
| | | | bomb anymore
* ConnectionPool's get_connection() now can take optional kwargsAndy McCurdy2011-05-252-3/+4
|
* remove the SELECT command completely. use a separate client instance instead.Andy McCurdy2011-05-242-17/+5
|
* renamed path arg to unix_socket_path to make it clearerAndy McCurdy2011-05-231-3/+3
|
* ability to use the UnixDomainSocketConnection directly from the Redis client.Andy McCurdy2011-05-231-14/+23
|
* added Connection and UnixDomainSocketConnection to module importsAndy McCurdy2011-05-231-3/+7
|
* updated changelog for 2.4Andy McCurdy2011-05-231-1/+45
|
* new pubsub testsAndy McCurdy2011-05-236-111/+90
|
* removing unnecessary importsAndy McCurdy2011-05-222-9/+2
|
* removal of more deprecated commandsAndy McCurdy2011-05-221-51/+1
|
* allow shard hints to be passed to pipeline and pubsub objects. a smart ↵Andy McCurdy2011-05-221-90/+53
| | | | | | connection pool could use these hints to determine the correct shard to run on. removed all previously deprecated parameters and commands
* completely refactored pubsub. this is backwards incompatible, but quite ↵Andy McCurdy2011-05-221-70/+96
| | | | necessary.
* more error checking for socket errorsAndy McCurdy2011-05-221-5/+7
|
* connection pool is now a real pool. we no longer rely on threading.local for ↵Andy McCurdy2011-05-173-26/+32
| | | | anything in redis-py. yaa!
* all tests pass now except pub/sub. connection_pool's get_connection now ↵Andy McCurdy2011-05-172-19/+18
| | | | always received the command name for the next command. still need to pass keys.
* all tests passing with new connection poolAndy McCurdy2011-05-164-165/+165
|
* make a formal hook so other types of connections don't have to repeat the ↵Andy McCurdy2011-05-121-4/+4
| | | | same connection setup logic
* we don't need the command_name overriding just yetAndy McCurdy2011-05-121-4/+3
|
* connection class completely refactored. encoding and command packing moved ↵Andy McCurdy2011-05-123-224/+234
| | | | from client to connection. introduced concept of protocol parsers and implemented both a PythonParse and a hiredis parser. the parser class can be overridden in the __init__ of the connection if desired.
* Merged pull request #129 from kennethreitz/feature/docfix.Andy McCurdy2011-04-261-1/+8
|\ | | | | added `linsert()` to readme.
| * added `linsert()` to readme.Kenneth Reitz2011-04-091-1/+8
| |
* | credit to Benjamin Anderson.Andy McCurdy2011-04-261-0/+6
| |
* | Merged pull request #132 from banjiewen/banjiewen.Andy McCurdy2011-04-261-0/+5
|\ \ | | | | | | Added socket disconnection if commands are rejected due to AOF/RDB load.
| * | Added socket disconnection if commands are rejected due to AOF/RDB load.Benjamin Anderson2011-04-221-0/+5
| |/ | | | | | | SELECT commands are issued only on initial socket connection. If a user issues a command during an AOF/RDB load, the socket connection will be successfully opened, but the SELECT command will be lost. If subsequent commands are sent after the AOF/RDB load is completed, the SELECT command will not be retried (due to the open socket), and those commands will go to the wrong DB. This behavior appears to be present in hiredis as well as redis-py. Fixing it here by special casing the AOF/RDB load message and closing the socket connection before raising ResponseError.
* | __getitem__ now raises a KeyError when a key doesn't existAndy McCurdy2011-04-264-8/+11
| |
* | trying to getitem on a key that doesn't exist should raise a KeyErrorIonuț Arțăriși2011-04-051-2/+12
|/
* added thank you for adamAndy McCurdy2011-03-291-1/+1
|
* Use IPPROTO_TCP instead of SOL_TCPAdam Vandenberg2011-03-271-6/+1
| | | | | The constant value is the same, 6, but the former works in Jython as well as CPython.
* Jython doesn't define socket.SOL_TCP, but seems to work by using ↵Andy McCurdy2011-03-272-1/+9
| | | | socket.SOL_TCP's constant value, 6. Fix for #97
* version bumpAndy McCurdy2011-03-172-2/+2
|
* slight performance tweak to zset_score_pairs. Thanks SuorAndy McCurdy2011-03-161-2/+2
|
* Some speed optimizations. Thanks Suor.Andy McCurdy2011-03-151-8/+6
|
* i keep forgeting to write the changelog with the change =(Andy McCurdy2011-03-141-0/+1
|
* Always clear the subscription status of the client after a disconnect. Fixes #46Andy McCurdy2011-03-141-0/+1
|
* Merge branch 'master' into dcolishAndy McCurdy2011-03-141-0/+2
|\
| * HMSET changelog noticeAndy McCurdy2011-03-141-0/+2
| |
* | add PubSubError to better report disallowed command when using pub/subDan Colish2011-03-144-6/+13
|/
* Add exception message for DataError being thrown in hmsetDan Colish2011-03-141-1/+1
|
* Merge branch 'andy'Dan Colish2011-03-141-0/+2
|\
| * changelogAndy McCurdy2011-03-141-0/+2
| |
* | Raise DataError on empty hmset mappings, remove InvalidDataDan Colish2011-03-144-8/+24
|/
* Merge branch 'andy'Dan Colish2011-03-142-2/+5
|\
| * Fix for #103, handling socket errors betterAndy McCurdy2011-03-141-2/+2
| |
| * notes about python 2.4 compatibility changesAndy McCurdy2011-03-141-0/+3
| |
* | Use itertools izip and islice to speed up pairs_to_dict and other zipsDan Colish2011-03-141-4/+6
|/