summaryrefslogtreecommitdiff
path: root/redis/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Single sourcing the package version (#1791)Chayim2021-12-151-1/+11
|
* Added black and isort (#1734)Anas2021-11-301-37/+37
|
* Pre-4.1.0rc2 version bump (#1761)Chayim2021-11-301-1/+1
|
* Adding RedisCluster client to support Redis Cluster Mode (#1660)Bar Shaul2021-11-251-0/+2
| | | | Co-authored-by: Chayim <chayim@users.noreply.github.com> Co-authored-by: Anas <anas.el.amraoui@live.com>
* 4.1.0rc1 (#1742)Chayim2021-11-251-1/+1
|
* Better removal of hiredis warning (#1726)Alex Wu2021-11-211-1/+1
| | | Co-authored-by: Alex Wu <alex@anyscale.com>
* removing hiredis warning (#1721)Chayim2021-11-171-1/+1
|
* 4.0.0 (#1708)v4.0.0Chayim2021-11-151-1/+3
| | | * 4.0.0
* 4.0.0 rc2 versioning (#1677)Chayim2021-11-091-1/+1
|
* Export Sentinel, and SSL like other classes (#1671)Terence Honles2021-11-081-0/+10
|
* rc1 (#1668)Chayim2021-11-041-1/+1
|
* Fixing the package to include commands (#1649)v4.0.0b3Chayim2021-10-261-1/+1
| | | | | * Fixing the package to include commands. Fixes #1645
* beta2 version and CHANGES update (#1643)v4.0.0b2Chayim2021-10-261-1/+1
|
* 4.0.0 beta 1 versioning - prior to pypi release (#1615)v4.0.0b1ck-releasedrafterChayim2021-10-171-1/+1
|
* Making 3.9.9 a placeholder version - prior to 4.0.0 (#1599)Chayim2021-10-111-1/+1
|
* 3.5.33.5.3Andy McCurdy2020-06-011-1/+1
|
* 3.5.23.5.2Andy McCurdy2020-05-141-1/+1
|
* 3.5.13.5.1Andy McCurdy2020-05-091-1/+1
|
* version 3.5.03.5.0Andy McCurdy2020-04-291-1/+1
|
* 3.4.13.4.1Andy McCurdy2020-02-011-1/+1
|
* Provide AUTH fallback support for connection URLs with a username componentAndy McCurdy2020-01-311-0/+2
| | | | | | | | | | | | | Prior to ACL support, redis-py ignored the username component of Connection URLs. With ACL support, usernames are no longer ignored and are used to authenticate against an ACL rule. Some cloud vendors with managed Redis instances (like Heroku) provide connection URLs with a username component pre-ACL that is not intended to be used. Sending that username to Redis servers < 6.0.0 results in an error. Attempt to detect this condition and retry the AUTH command with only the password such that authentication continues to work for these users. Fixes #1274
* 3.4.03.4.0Andy McCurdy2020-01-301-1/+1
|
* better thread-safety for ConnectionPool (#1270)Andy McCurdy2020-01-301-5/+21
| | | Better thread and fork safety for ConnectionPool and BlockingConnectionPool
* Version 3.3.113.3.11Andy McCurdy2019-10-131-1/+1
| | | | | | check exception.args rather than exception.message. exception.message was deprecated prior to Python 2.7 and some alternative builds have removed it completely.
* Version 3.3.103.3.10Zac Bristow2019-10-101-1/+1
| | | | | | | | | Fix SSL regression introduced in 3.3.9 The wrapper introduced to handle SSL timeout errors in Python 2.7 incorrectly assumed that instances of SSLError would always have a string as their first element. The safer approach is to check the message attribute on the error.
* Version 3.3.93.3.9Zac Bristow2019-10-101-1/+1
| | | | | | | | | Fixes SSL read timeouts in Python 2.7 The ssl module in Python 2.7 raises timeouts as ssl.SSLError instead of socket.timeout. When these timeouts are encountered, the error will be re-raised as socket.timeout so it is handled appropriately by the connection.
* version 3.3.8, fix MONITOR output to account for all types of clients3.3.8huangwei-ds52019-08-191-1/+1
| | | | | | | | | | The client section of MONITOR output varies for TCP connections, unix socket connections and commands executed from Lua scripts. Account for each of these cases by including an additional key `client_type` in the MONITOR output. `client_type` will be one of ('tcp', 'unix', 'lua'). `client_address` and `client_port` vary based on the `client_type`. Fixes #1201
* version 3.3.7, Fixed a socket.error regression introduced in 3.3.03.3.7Andy McCurdy2019-08-131-1/+1
| | | | | | | Prior versions of 3.3.x could potentially raise a raw socket.error (or one of its subclasses) instead of a redis.exceptions.ConnectionError. Fixes #1202
* version 3.3.6, fixed a regression in 3.3.5 with pubsub timeouts3.3.6Andy McCurdy2019-08-061-1/+1
| | | | Fixes #1200
* version 3.3.5, handle socket.timeout errors correctly in Python 2.73.3.5Andy McCurdy2019-08-021-1/+1
| | | | | Fix an issue where socket.timeout errors could be handled by the wrong exception handler in Python 2.7.
* version 3.3.4, more specifically identify nonblocking read errorsAndy McCurdy2019-07-301-1/+1
| | | | | | | versions 3.3.1, 3.3.2 and 3.3.3 could potentially hide ConnectionErrors on Python 2.7. This change accurately identifies errors by both exception class and errno to determine whether a nonblocking socket can be read
* Version 3.3.3. Accomodate Python 2.7.x versions < 2.7.9.3.3.3Andy McCurdy2019-07-301-1/+1
| | | | | | | | The SSL module includes in Python versions < 2.7.9 does not include the SSLWantReadError or SSLWantWriteError exceptions. As such we can't assume they are present just because the ssl module happens to be installed. Fixes #1197
* Version 3.3.2, SSL Blocking Exceptions don't use errno.EWOULDBLOCK3.3.2Andy McCurdy2019-07-291-1/+1
| | | | Ref #1197
* version 3.3.1, fixed a regression involving SSL and non-blocking sockets3.3.1Andy McCurdy2019-07-291-1/+1
| | | | Fixes #1197
* version 3.3.0Andy McCurdy2019-07-281-1/+1
|
* Use nonblocking sockets instead of selectors for healthy connectionsAndy McCurdy2019-07-091-1/+1
| | | | | | | This replaces the work in 3.2.0 to use nonblocking sockets instead of selectors. Selectors proved to be problematic for some environments including eventlet and gevent. Nonblocking sockets should be available in all environments.
* 3.2.13.2.1Andy McCurdy2019-03-151-1/+1
|
* actual 3.2.03.2.0Andy McCurdy2019-02-171-1/+1
|
* 3.1.03.1.0Andy McCurdy2019-01-281-1/+1
|
* redis-py 3.0.13.0.13.0Andy McCurdy2018-11-151-1/+1
|
* fix rst format issuesAndy McCurdy2018-11-151-2/+9
|
* redis-py 3.0.0Andy McCurdy2018-11-151-1/+1
|
* Version 2.10.6, finally...2.10.6Andy McCurdy2017-08-161-1/+1
|
* 2.10.5 (incrementing the version to avoid a pypi issue)2.10.5Andy McCurdy2015-11-021-1/+1
|
* 2.10.42.10.4Andy McCurdy2015-11-021-1/+1
|
* 2.10.32.10.3Andy McCurdy2014-08-141-1/+1
|
* 2.10.22.10.2Andy McCurdy2014-08-111-1/+1
|
* 2.10.12.10.1Andy McCurdy2014-06-021-1/+1
|
* 2.10.02.10.0Andy McCurdy2014-06-011-1/+1
|
* Don't retry commands that fail due to a socket.timeout by default.Andy McCurdy2014-05-271-7/+8
| | | | | | | | | | | | | | | | | | | | Users now have the ability about how socket.timeout errors are handled. Previously socket.timeout errors were handled just like any other socket error in that the command would be retried once. This createed a potential race condition when the client sends a command to a busy Redis server that can't reply faster than the client's `socket_timeout` option. In this case, the server will still eventually process the command. There's now a `retry_on_timeout` option that's set to False by default. If `retry_on_timeout` is False, any socket.timeout error will raise a TimeoutError exception. If `retry_on_timeout` is set to True, the client will retry executing the command once just like other socket.error exceptions. TODO: Write better tests for this code. TODO: Much of this logic could/should be moved to the ConnectionPool or Connection objects. Fixes #261