1. 15 11月, 2018 28 次提交
  2. 14 11月, 2018 6 次提交
    • A
      remove legacy Redis class · 36a84fc9
      Andy McCurdy 提交于
      redis-py maintained backwards compatibility by keeping the old "Redis"
      class around for quite some time. While no doubt a convenience for folks
      who relied on it, the presence of both Redis and StrictRedis causes
      a number of support issues and general confusion. With 3.0, we're
      breaking a few things to make redis-py better going forward.
      
      This change removes the old Redis class. We also renamed the StrictRedis
      class to Redis and aliased StrictRedis to Redis. For people that have
      been using StrictRedis, this should not change anything. You can continue
      doing things as you are.
      
      People still using the legacy Redis class will need to update the argument
      order for the SETEX, LREM and ZADD commands. Additionally, the return values
      for TTL and PTTL now return the integer values -1 when a key exists but
      has no expire time and -2 when a key does not exist. Previously these
      cases returned a None value in the Redis class.
      36a84fc9
    • A
      force mapping to be a single dict object on MSET, MSETNX and ZADD · 90a52dd5
      Andy McCurdy 提交于
      Previously MSET, MSETNX and ZADD accepted multiple ways to specify the
      mapping of keys to values including via **kwargs. This turned out to be
      a poor choice. As Redis evolved and added additional options to the ZADD
      command, these options couldn't be specified in redis-py without possible
      element name conflictd. This fixes that going forward and makes the commands
      simpler.
      90a52dd5
    • A
      Merge pull request #1064 from andymccurdy/migrate · 69effc24
      Andy McCurdy 提交于
      add migrate command
      69effc24
    • A
      Merge pull request #1057 from RoeyPrat/roey-client_pause · f2edf59d
      Andy McCurdy 提交于
      CLIENT PAUSE and  type argument in client_list
      f2edf59d
    • A
      Merge pull request #1019 from krishan-carbon/patch-1 · e69ecbb1
      Andy McCurdy 提交于
       Allow pings in PubSub
      e69ecbb1
    • A
      pep8 fixes · c91b3395
      Andy McCurdy 提交于
      c91b3395
  3. 13 11月, 2018 6 次提交