Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | version bump!2.4 | Andy McCurdy | 2011-06-01 | 1 | -1/+1 |
| | |||||
* | pipelines need the response_callback love, too. grammar fixes in docs | Andy McCurdy | 2011-06-01 | 1 | -2/+8 |
| | |||||
* | added ability for per-instance response callbacks. also, holy shit, ↵ | Andy McCurdy | 2011-06-01 | 1 | -4/+17 |
| | | | | documentation! | ||||
* | updating a few docstrings | Andy McCurdy | 2011-05-31 | 1 | -2/+7 |
| | |||||
* | support ZADD variable length args. deprecate the version passing score and ↵ | Andy McCurdy | 2011-05-31 | 1 | -4/+18 |
| | | | | value (in the wrong order). | ||||
* | ConnectionPool's get_connection() now can take optional kwargs | Andy McCurdy | 2011-05-25 | 2 | -3/+4 |
| | |||||
* | remove the SELECT command completely. use a separate client instance instead. | Andy McCurdy | 2011-05-24 | 1 | -10/+0 |
| | |||||
* | renamed path arg to unix_socket_path to make it clearer | Andy McCurdy | 2011-05-23 | 1 | -3/+3 |
| | |||||
* | ability to use the UnixDomainSocketConnection directly from the Redis client. | Andy McCurdy | 2011-05-23 | 1 | -14/+23 |
| | |||||
* | added Connection and UnixDomainSocketConnection to module imports | Andy McCurdy | 2011-05-23 | 1 | -3/+7 |
| | |||||
* | new pubsub tests | Andy McCurdy | 2011-05-23 | 2 | -2/+2 |
| | |||||
* | removing unnecessary imports | Andy McCurdy | 2011-05-22 | 1 | -4/+2 |
| | |||||
* | removal of more deprecated commands | Andy McCurdy | 2011-05-22 | 1 | -51/+1 |
| | |||||
* | allow shard hints to be passed to pipeline and pubsub objects. a smart ↵ | Andy McCurdy | 2011-05-22 | 1 | -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 McCurdy | 2011-05-22 | 1 | -70/+96 |
| | | | | necessary. | ||||
* | more error checking for socket errors | Andy McCurdy | 2011-05-22 | 1 | -5/+7 |
| | |||||
* | connection pool is now a real pool. we no longer rely on threading.local for ↵ | Andy McCurdy | 2011-05-17 | 2 | -26/+31 |
| | | | | anything in redis-py. yaa! | ||||
* | all tests pass now except pub/sub. connection_pool's get_connection now ↵ | Andy McCurdy | 2011-05-17 | 2 | -19/+18 |
| | | | | always received the command name for the next command. still need to pass keys. | ||||
* | all tests passing with new connection pool | Andy McCurdy | 2011-05-16 | 2 | -140/+138 |
| | |||||
* | make a formal hook so other types of connections don't have to repeat the ↵ | Andy McCurdy | 2011-05-12 | 1 | -4/+4 |
| | | | | same connection setup logic | ||||
* | we don't need the command_name overriding just yet | Andy McCurdy | 2011-05-12 | 1 | -4/+3 |
| | |||||
* | connection class completely refactored. encoding and command packing moved ↵ | Andy McCurdy | 2011-05-12 | 2 | -171/+181 |
| | | | | 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 #132 from banjiewen/banjiewen. | Andy McCurdy | 2011-04-26 | 1 | -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 Anderson | 2011-04-22 | 1 | -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 exist | Andy McCurdy | 2011-04-26 | 1 | -3/+3 |
| | | |||||
* | | trying to getitem on a key that doesn't exist should raise a KeyError | Ionuț Arțăriși | 2011-04-05 | 1 | -2/+12 |
|/ | |||||
* | Use IPPROTO_TCP instead of SOL_TCP | Adam Vandenberg | 2011-03-27 | 1 | -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 McCurdy | 2011-03-27 | 1 | -1/+7 |
| | | | | socket.SOL_TCP's constant value, 6. Fix for #97 | ||||
* | version bump | Andy McCurdy | 2011-03-17 | 1 | -1/+1 |
| | |||||
* | slight performance tweak to zset_score_pairs. Thanks Suor | Andy McCurdy | 2011-03-16 | 1 | -2/+2 |
| | |||||
* | Some speed optimizations. Thanks Suor. | Andy McCurdy | 2011-03-15 | 1 | -8/+6 |
| | |||||
* | Always clear the subscription status of the client after a disconnect. Fixes #46 | Andy McCurdy | 2011-03-14 | 1 | -0/+1 |
| | |||||
* | add PubSubError to better report disallowed command when using pub/sub | Dan Colish | 2011-03-14 | 3 | -6/+12 |
| | |||||
* | Add exception message for DataError being thrown in hmset | Dan Colish | 2011-03-14 | 1 | -1/+1 |
| | |||||
* | Raise DataError on empty hmset mappings, remove InvalidData | Dan Colish | 2011-03-14 | 3 | -7/+23 |
| | |||||
* | Merge branch 'andy' | Dan Colish | 2011-03-14 | 1 | -2/+2 |
|\ | |||||
| * | Fix for #103, handling socket errors better | Andy McCurdy | 2011-03-14 | 1 | -2/+2 |
| | | |||||
* | | Use itertools izip and islice to speed up pairs_to_dict and other zips | Dan Colish | 2011-03-14 | 1 | -4/+6 |
|/ | |||||
* | Merge branch 'andy' | Dan Colish | 2011-03-14 | 1 | -3/+3 |
|\ | |||||
| * | Merge remote branch 'richid/multi_watch' into richid | Andy McCurdy | 2011-03-14 | 1 | -3/+3 |
| |\ | |||||
| | * | Add support for multiple keys in a single WATCH call | Rich Schumacher | 2011-03-04 | 1 | -3/+3 |
| | | | |||||
* | | | Remove ternary operator to support Python 2.4 | Dan Colish | 2011-03-14 | 1 | -1/+4 |
|/ / | |||||
* | | Lock's now support timeouts that are floats. Fix for #113 | Andy McCurdy | 2011-03-14 | 1 | -4/+10 |
| | | |||||
* | | the actual order of the zrevrangebyscore parameters were switched, too, ↵ | Andy McCurdy | 2011-03-14 | 1 | -6/+6 |
| | | | | | | | | which was the root of this problem | ||||
* | | Really compatible with the new info in redis 2.2 : ignore blank and comment ↵ | twidi | 2011-02-27 | 1 | -5/+6 |
| | | | | | | | | lines | ||||
* | | parameters for zrevrangebyscore are `max` then `min`, and not `min` then `max` | twidi | 2011-02-27 | 1 | -1/+1 |
|/ | |||||
* | Merge remote branch 'bretthoerner/master' into bretthoerner | Andy McCurdy | 2011-02-09 | 1 | -2/+2 |
|\ | |||||
| * | Fix info() for new Redis INFO format (backwards compatible). | Brett Hoerner | 2011-01-24 | 1 | -2/+2 |
| | | |||||
* | | stylistic modes + tests for zrevrangebyscore | Andy McCurdy | 2011-02-09 | 1 | -8/+12 |
| | | |||||
* | | Merge remote branch 'jaybaird/master' into jaybaird | Andy McCurdy | 2011-02-09 | 1 | -1/+22 |
|\ \ |