Skip to content

Tags: dork/redis-py

Tags

3.3.11

Toggle 3.3.11's commit message
Version 3.3.11

check exception.args rather than exception.message. exception.message
was deprecated prior to Python 2.7 and some alternative builds have
removed it completely.

3.3.10

Toggle 3.3.10's commit message
Version 3.3.10

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.

3.3.9

Toggle 3.3.9's commit message
Version 3.3.9

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.

3.3.8

Toggle 3.3.8's commit message
version 3.3.8, fix MONITOR output to account for all types of clients

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 redis#1201

3.3.7

Toggle 3.3.7's commit message
version 3.3.7, Fixed a socket.error regression introduced in 3.3.0

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 redis#1202

3.3.6

Toggle 3.3.6's commit message
version 3.3.6, fixed a regression in 3.3.5 with pubsub timeouts

Fixes redis#1200

3.3.5

Toggle 3.3.5's commit message
version 3.3.5, handle socket.timeout errors correctly in Python 2.7

Fix an issue where socket.timeout errors could be handled by the wrong
exception handler in Python 2.7.

3.3.4

Toggle 3.3.4's commit message
version 3.3.4, more specifically identify nonblocking read errors

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

3.3.3

Toggle 3.3.3's commit message
Version 3.3.3. Accomodate Python 2.7.x versions < 2.7.9.

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 redis#1197

3.3.2

Toggle 3.3.2's commit message
Version 3.3.2, SSL Blocking Exceptions don't use errno.EWOULDBLOCK

Ref redis#1197