<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/redis-py.git/redis/connection.py, branch roey-vamc19_modules</title>
<subtitle>github.com: andymccurdy/redis-py.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/'/>
<entry>
<title>minor fixes for flake</title>
<updated>2020-07-01T14:23:15+00:00</updated>
<author>
<name>Roey Prat</name>
<email>roey.prat@redislabs.com</email>
</author>
<published>2020-07-01T14:23:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=7b4c8f6e93d3a76d416efb41025de81cd635634a'/>
<id>7b4c8f6e93d3a76d416efb41025de81cd635634a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support for loading, unloading and listing Redis Modules</title>
<updated>2020-07-01T14:03:18+00:00</updated>
<author>
<name>Vamsi Atluri</name>
<email>vamc19@gmail.com</email>
</author>
<published>2016-12-11T18:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=2eef463380570aab5a32b2355a1323dee4613294'/>
<id>2eef463380570aab5a32b2355a1323dee4613294</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SentinelConnectionPool plays better with threaded applications.</title>
<updated>2020-06-01T20:22:44+00:00</updated>
<author>
<name>Andy McCurdy</name>
<email>andy@andymccurdy.com</email>
</author>
<published>2020-05-20T21:27:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=e06af2a0f648d4241930479884533bc53cc9fdfb'/>
<id>e06af2a0f648d4241930479884533bc53cc9fdfb</id>
<content type='text'>
Prevent the pool from closing sockets on connections that are actively in use
by other threads when the master address changes. Connections returned to the
pool that are still connected to the old master will be disconnected
gracefully.

Fixes #1345
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevent the pool from closing sockets on connections that are actively in use
by other threads when the master address changes. Connections returned to the
pool that are still connected to the old master will be disconnected
gracefully.

Fixes #1345
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore try/except in __del__ methods</title>
<updated>2020-05-20T18:04:48+00:00</updated>
<author>
<name>Andy McCurdy</name>
<email>andy@andymccurdy.com</email>
</author>
<published>2020-05-20T18:04:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=afb3b81dca308307a17409a0a97bb52b070716b8'/>
<id>afb3b81dca308307a17409a0a97bb52b070716b8</id>
<content type='text'>
Fixed #1339
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed #1339
</pre>
</div>
</content>
</entry>
<entry>
<title>Tune the locking in ConnectionPool.get_connection</title>
<updated>2020-05-14T21:16:14+00:00</updated>
<author>
<name>Andy McCurdy</name>
<email>andy@andymccurdy.com</email>
</author>
<published>2020-05-14T21:16:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=32a58406b2769f423170142e21d164c863697ebc'/>
<id>32a58406b2769f423170142e21d164c863697ebc</id>
<content type='text'>
The lock does not need to be held while waiting for the socket to
establish and validate the TCP connection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The lock does not need to be held while waiting for the socket to
establish and validate the TCP connection.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo (missing space) in exception message (#1334)</title>
<updated>2020-04-28T20:26:19+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-04-28T20:26:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=09da3ad07f26350d093929fe1ea6eaaca79ab944'/>
<id>09da3ad07f26350d093929fe1ea6eaaca79ab944</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to flake8 for static code analysis (#1328)</title>
<updated>2020-04-16T22:04:22+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-04-16T22:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=05548a373f780c512bc7f7a12a18173d19437b12'/>
<id>05548a373f780c512bc7f7a12a18173d19437b12</id>
<content type='text'>
flake8 catches a wider net of mistakes than pycodestyle and is more
commonly used by the larger community. For example, it catches unused
imports, a few of which existed. These have since been removed.

Two "noqa" comments were added. One ignores the _compat.py file as it
has a large amount of Python version specific code. The second is in
utils.py which intentionally does not use an import.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flake8 catches a wider net of mistakes than pycodestyle and is more
commonly used by the larger community. For example, it catches unused
imports, a few of which existed. These have since been removed.

Two "noqa" comments were added. One ignores the _compat.py file as it
has a large amount of Python version specific code. The second is in
utils.py which intentionally does not use an import.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix str/bytes mixup in PythonParser.read_response() (#1324)</title>
<updated>2020-04-13T18:19:51+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-04-13T18:19:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=0851c0db2b979c55f52a28eeb63bfa6898df8cb3'/>
<id>0851c0db2b979c55f52a28eeb63bfa6898df8cb3</id>
<content type='text'>
Calling str() on a bytes object can result in a BytesWarning being
emitted and usually indicates a mixup between byte and string handling.

Now, in the event of an invalid RESP response, use the repr value of the
raw response in the exception message.

Can further simplify the bytes/str handling by comparing the first byte
as a bytes object instead of converting it to str. The bytes literal is
available on all supported Pythons. This removes the need for the
compatibility function, byte_to_chr().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling str() on a bytes object can result in a BytesWarning being
emitted and usually indicates a mixup between byte and string handling.

Now, in the event of an invalid RESP response, use the repr value of the
raw response in the exception message.

Can further simplify the bytes/str handling by comparing the first byte
as a bytes object instead of converting it to str. The bytes literal is
available on all supported Pythons. This removes the need for the
compatibility function, byte_to_chr().</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify exception handlers (#1319)</title>
<updated>2020-04-11T19:47:38+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-04-11T19:47:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=ae86503e4c9348e43dd927b4a552d72349faf097'/>
<id>ae86503e4c9348e43dd927b4a552d72349faf097</id>
<content type='text'>
Use the "as" keyword to capture the exception in a variable instead of
sys.exc_info().

Re-raise exception with the bare "raise" syntax.

Avoid "# noqa: E722" by catching BaseException, which includes all
exceptions including SystemExit.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the "as" keyword to capture the exception in a variable instead of
sys.exc_info().

Re-raise exception with the bare "raise" syntax.

Avoid "# noqa: E722" by catching BaseException, which includes all
exceptions including SystemExit.</pre>
</div>
</content>
</entry>
<entry>
<title>Support memoryview encoding/decoding as a no-op</title>
<updated>2020-02-24T23:38:05+00:00</updated>
<author>
<name>Cody-G</name>
<email>codyjgreer@gmail.com</email>
</author>
<published>2020-02-08T21:19:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/redis-py.git/commit/?id=3310fe415a4c3a6ec9a9fcaf9a9fa24808219429'/>
<id>3310fe415a4c3a6ec9a9fcaf9a9fa24808219429</id>
<content type='text'>
This allows memoryview instances to be passed to Redis command args that
expect strings or bytes. The memoryview instance is sent directly to
the socket such that there are zero copies made of the underlying data
during command packing.

Fixes #1265
Fixes #1285
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows memoryview instances to be passed to Redis command args that
expect strings or bytes. The memoryview instance is sent directly to
the socket such that there are zero copies made of the underlying data
during command packing.

Fixes #1265
Fixes #1285
</pre>
</div>
</content>
</entry>
</feed>
