Switch branches/tags
Nothing to show
Commits on Apr 19, 2010
  1. Always return a set object from set-based commands. Thanks Adam Charn…

    andymccurdy committed Apr 19, 2010
    …ock for the bug report.
Commits on Apr 16, 2010
  1. HMGET + tests

    kmerenkov authored and andymccurdy committed Apr 16, 2010
Commits on Apr 12, 2010
  1. HMSET support

    kmerenkov authored and andymccurdy committed Apr 12, 2010
  2. [issue 29] Redis instance doesn't use shared connection pool by default

    kmerenkov authored and andymccurdy committed Apr 12, 2010
     * Redis constructor accepts connection_pool keyword argument,
       that defaults to None (no shared connection pool).
       However, you can create ConnectionManager instance yourself
       and pass it to as many Redis instances as you want, making
       them use shared connection pool.
     * Renamed ConnectionManager to ConnectionPool.
     * Exported ConnectionPool, so now you can import it in your code
       and create instances.
     * Removed test_pipeline_with_fresh_connection test, since
       all redis instances don't use shared pool by default now.
     * corrected few typos in comments.
     * repaired the rest of tests.
Commits on Apr 2, 2010
Commits on Apr 1, 2010
  1. Pipeines can not optionally be transactions (wrapped in MULTI/EXEC) o…

    andymccurdy committed Apr 1, 2010
    …r not by passing the transaction parameter. This fixes #23.
Commits on Mar 31, 2010
  1. Move towards binary-safeness of keys and values.

    kmerenkov committed Mar 31, 2010
     * Dropped support of all protocols except multi-bulk
       the only protocol that yet to be released redis 2.0 is able
     * As a side-effect there is an 'execute_command' function exposed
       to the library user. As for now it is pretty useless :)
     * Added (only) two tests
Commits on Mar 30, 2010
  1. added support for subscribe, unsubscribe, publish. tests incoming. pa…

    andymccurdy committed Mar 30, 2010
    …ttern is:
    for msg in redis.listen():
        channel, data = msg['channel'], msg['message']
    listen() is a generator that will generate new messages as they come in.  it will continue to block until all channels are unsubscribed.
Commits on Mar 26, 2010
  1. * fix for #21, make only the "db" argument of select() required. If h…

    andymccurdy committed Mar 26, 2010
    …ost and port aren't specified, the host/port options on the existing connection are used.
    * added HINCRBY support
Commits on Mar 18, 2010
  1. HEXISTS and HLEN implementations

    andymccurdy committed Mar 18, 2010
    added a socket_timeout parameter to allow commands to timeout and raise an error
Commits on Mar 16, 2010
  1. fix for #18 -- i had copy/pasted some code from another function and …

    andymccurdy committed Mar 16, 2010
    …forgot to actually change it! thanks to Sam (SJD) for the bug report
Commits on Mar 15, 2010
  1. HDEL implemented

    andymccurdy committed Mar 15, 2010
Commits on Mar 12, 2010
  1. no reason to join the names here -- just let the format_inline do it,…

    andymccurdy committed Mar 12, 2010
    … that way we get the benefit of encoding, too!
  2. Fixed a bug with pipeline execution of AUTH and SELECT commands. Thes…

    andymccurdy committed Mar 12, 2010
    …e failed after MULTI and EXEC were added, since you can't run MULTI until you've auth'd, and it doesn't make sense to run SELECT within a multi/exec.
    Thanks Pat Shields for the bug report
Commits on Mar 11, 2010
  1. fixed #15 where zscore previously failed for members of a sorted set…

    andymccurdy committed Mar 11, 2010
    … that didn't exist.
    also made anal cleanup changes removing whitespace before colons!
  2. all commands being executed in a pipeline are now executing with a si…

    andymccurdy committed Mar 11, 2010
    …ngle socket send call. this should increase network throughput
Commits on Mar 10, 2010
  1. HSET now returns 1 if it added a new field to the hash, otherwise 0.

    andymccurdy committed Mar 10, 2010
    There was no test for RPUSH, now there is :)
  2. added HGET/HSET commands

    andymccurdy committed Mar 10, 2010
    removed the KEYS callback -- 1.34 Redis servers now return KEYS with the multi-bulk protocol, which means they're already in a list