Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 2, 2010
  1. read method now raises ConnectionError exception if the connection to…

    authored
    … the socket was lost / not established (self._fp = None) and the data cannot be read.
    
    Before, if the data could not be read, AttributeError was raised:
    
    ...
    File "/usr/local/dev/lib/python2.6/site-packages/redis/client.py", line 253, in _parse_response
        response = length and conn.read(length) or ''
    
      File "/usr/local/dev/lib/python2.6/site-packages/redis/client.py", line 65, in read
        return self._fp.read(length)
    
    AttributeError: 'NoneType' object has no attribute 'read'
Commits on Jun 1, 2010
  1. @kmerenkov @andymccurdy
  2. @kmerenkov @andymccurdy

    blpop / brpop can accept string as key

    kmerenkov authored andymccurdy committed
  3. @sebleier @andymccurdy

    added test runner

    sebleier authored andymccurdy committed
  4. @sebleier @andymccurdy

    Added HSETNX command and tests

    sebleier authored andymccurdy committed
Commits on May 23, 2010
  1. @andymccurdy
Commits on May 11, 2010
  1. @andymccurdy

    added missing EXPIREAT and SETEX commands

    andymccurdy authored
    added a few missing tests
Commits on May 9, 2010
  1. @kmerenkov

    Fixed test_hincrby

    kmerenkov authored
     * Catch exception RedisError on attempt to increment value "a3".
       Redis gives "-ERR Operation against a key holding the wrong
       kind of value" on such attempts.
Commits on May 3, 2010
  1. @andymccurdy

    values with scores of 0 were previously failing due to the way the ca…

    andymccurdy authored
    …llback converted values. changed to a separate function to get proper handling. fixes #33
Commits on Apr 28, 2010
  1. @andymccurdy
  2. @andymccurdy

    added pubsub tests

    andymccurdy authored
    fixed a typo in hmset from the previous commit
  3. @andymccurdy
Commits on Apr 19, 2010
  1. @andymccurdy
  2. @andymccurdy
Commits on Apr 16, 2010
  1. @kmerenkov @andymccurdy
  2. @kmerenkov @andymccurdy

    HMGET + tests

    kmerenkov authored andymccurdy committed
Commits on Apr 12, 2010
  1. @kmerenkov @andymccurdy
  2. @kmerenkov @andymccurdy

    HMSET support

    kmerenkov authored andymccurdy committed
  3. @kmerenkov @andymccurdy

    [issue 29] Redis instance doesn't use shared connection pool by default

    kmerenkov authored andymccurdy committed
     * 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
  1. @andymccurdy
Commits on Apr 1, 2010
  1. @kmerenkov
  2. @andymccurdy
  3. @andymccurdy

    Pipeines can not optionally be transactions (wrapped in MULTI/EXEC) o…

    andymccurdy authored
    …r not by passing the transaction parameter. This fixes #23.
Commits on Mar 31, 2010
  1. @kmerenkov
  2. @kmerenkov
  3. @kmerenkov
  4. @kmerenkov

    Move towards binary-safeness of keys and values.

    kmerenkov authored
     * Dropped support of all protocols except multi-bulk
       the only protocol that yet to be released redis 2.0 is able
       understand
     * 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
  5. @kmerenkov
  6. @kmerenkov
  7. @kmerenkov
Commits on Mar 30, 2010
  1. @kmerenkov
  2. @andymccurdy

    added support for subscribe, unsubscribe, publish. tests incoming. pa…

    andymccurdy authored
    …ttern is:
    
    redis.subscribe('my_channel')
    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. @andymccurdy

    * fix for #21, make only the "db" argument of select() required. If h…

    andymccurdy authored
    …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. @andymccurdy

    HEXISTS and HLEN implementations

    andymccurdy authored
    added a socket_timeout parameter to allow commands to timeout and raise an error
Commits on Mar 16, 2010
  1. @andymccurdy

    fix for #18 -- i had copy/pasted some code from another function and …

    andymccurdy authored
    …forgot to actually change it! thanks to Sam (SJD) for the bug report
Something went wrong with that request. Please try again.