1. 09 11月, 2020 2 次提交
  2. 27 10月, 2020 1 次提交
  3. 13 10月, 2020 1 次提交
  4. 22 9月, 2020 1 次提交
  5. 07 8月, 2020 1 次提交
    • J
      Remove support for end-of-life Python 2.7 (#1318) · 8c5a41ba
      Jon Dufresne 提交于
      Remove support for end-of-life Python 2.7
      
      Python 2.7 is end of life. It is no longer receiving bug fixes,
      including for security issues. Python 2.7 went EOL on 2020-01-01. For
      additional details on support Python versions, see:
      
      Supported: https://devguide.python.org/#status-of-python-branches
      EOL: https://devguide.python.org/devcycle/#end-of-life-branches
      
      Removing support for EOL Pythons will reduce testing and maintenance
      resources while allowing the library to move towards a modern Python 3
      style. Python 2.7 users can continue to use the previous version of
      redis-py.
      
      Was able to simplify the code:
      
      - Removed redis._compat module
      - Removed __future__ imports
      - Removed object from class definition (all classes are new style)
      - Removed long (Python 3 unified numeric types)
      - Removed deprecated __nonzero__ method
      - Use simpler Python 3 super() syntax
      - Use unified OSError exception
      - Use yield from syntax
      Co-authored-by: NAndy McCurdy <andy@andymccurdy.com>
      8c5a41ba
  6. 14 7月, 2020 1 次提交
  7. 01 5月, 2020 1 次提交
  8. 30 4月, 2020 1 次提交
  9. 14 4月, 2020 2 次提交
  10. 25 2月, 2020 1 次提交
  11. 08 12月, 2019 1 次提交
  12. 21 10月, 2019 1 次提交
  13. 07 10月, 2019 1 次提交
  14. 29 7月, 2019 2 次提交
  15. 19 7月, 2019 1 次提交
  16. 18 7月, 2019 1 次提交
  17. 26 6月, 2019 1 次提交
  18. 29 5月, 2019 1 次提交
  19. 25 3月, 2019 1 次提交
  20. 25 2月, 2019 1 次提交
  21. 30 11月, 2018 1 次提交
  22. 16 11月, 2018 1 次提交
  23. 15 11月, 2018 3 次提交
  24. 14 11月, 2018 1 次提交
    • 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
  25. 13 11月, 2018 2 次提交
  26. 12 11月, 2018 1 次提交
  27. 02 11月, 2018 2 次提交
  28. 12 10月, 2018 2 次提交
  29. 30 8月, 2018 1 次提交
  30. 31 5月, 2018 1 次提交
  31. 10 10月, 2017 1 次提交
  32. 09 10月, 2017 1 次提交