diff options
author | Cody-G <codyjgreer@gmail.com> | 2020-02-08 13:19:17 -0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2020-02-24 15:38:05 -0800 |
commit | 3310fe415a4c3a6ec9a9fcaf9a9fa24808219429 (patch) | |
tree | 9f02ba16ce16ed29a86a0482a6b237c38ed6752d /tests/test_commands.py | |
parent | 03260002ded57223c5d05b2c99a0a710ee5d34f3 (diff) | |
download | redis-py-3310fe415a4c3a6ec9a9fcaf9a9fa24808219429.tar.gz |
Support memoryview encoding/decoding as a no-op
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
Diffstat (limited to 'tests/test_commands.py')
0 files changed, 0 insertions, 0 deletions