summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | pep8 cleanupChris Simpson2016-06-121-0/+2
| | | | | |
| * | | | | Cache Token objects to improve performance.Chris Simpson2016-06-123-29/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Token class now contains a cache of tokens, and each token stores its encoded value. In Python 3 this prevents encoding the Token commands (get, set, incr, etc...) repeatly. There is also a smaller performance improvement by creating fewer objects. A very basic benchmark script was also added.
| * | | | | Merge branch 'master' of https://github.com/andymccurdy/redis-pyChris Simpson2016-06-123-3/+15
| |\ \ \ \ \
| * \ \ \ \ \ Merge pull request #1 from andymccurdy/mastercjsimpson2016-06-093-5/+63
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | sync with origin
* | \ \ \ \ \ \ Merge pull request #752 from gward/issue716Andy McCurdy2016-06-142-0/+12
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | pubsub: improve error reporting if caller forgets to subscribe (issue #716)
| * | | | | | | pubsub: improve error reporting if caller forgets to subscribeGreg Ward2016-06-122-0/+12
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an easy mistake to make -- at least, I keep making it. It formerly resulted in a confusing crash, "AttributeError: 'NoneType' object has no attribute 'can_read'", from parse_response(). I have had to dig into the redis-py source code more than once to figure out what went wrong. With this patch, it still crashes, but with a clearer error that clarifies what the calling code forgot to do. Fixes issue #716.
* | | | | | | Merge pull request #750 from carltongibson/fixes/wrap-selectAndy McCurdy2016-06-112-2/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Wrap `select` to retry on `InterruptedError`
| * | | | | | | Retry `select` calls on `InterruptedError`Carlton Gibson2016-06-102-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref #738
* | | | | | | | Merge pull request #749 from carltongibson/tox/require-mockAndy McCurdy2016-06-111-1/+3
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | / / / / / | |_|/ / / / / |/| | | | | | Specify mock requirement for tox
| * | | | | | Specify mock requirement for toxCarlton Gibson2016-06-101-1/+3
|/ / / / / /
* | | | | | Merge pull request #712 from jitendranair/jitendranair-patch-1Andy McCurdy2016-06-051-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update README.rst
| * | | | | | Update README.rstJitendra Nair2016-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | Missing single quote in code block
* | | | | | | Merge pull request #743 from closeio/retry-recv-eintrAndy McCurdy2016-06-052-4/+62
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Automatically retry EINTR for Python < 3.5 to prevent duplicate command execution
| * | | | | | Style fixes (2)Thomas Steinacher2016-05-241-2/+2
| | | | | | |
| * | | | | | Style fixesThomas Steinacher2016-05-241-2/+3
| | | | | | |
| * | | | | | For Python < 3.5, automatically retry EINTRThomas Steinacher2016-05-242-4/+61
| | | | | | |
* | | | | | | Merge pull request #744 from youknowone/pypy-compatAndy McCurdy2016-05-311-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Check also `int` not only `long` for PyPy.
| * | | | | | Check `int` also not only `long`Jeong YunWon2016-05-301-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | PyPy can generate an `int` instance here.
* | | | | | Merge pull request #737 from hulu/masterAndy McCurdy2016-05-171-3/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | add daemon option to PubSubWorker so ctrl-c will work
| * | | | | add daemon option to PubSubWorker so ctrl-c will workKeith Ainsworth2016-05-171-3/+4
|/ / / / /
* | | | | Merge pull request #723 from timsavage/masterAndy McCurdy2016-03-292-4/+82
|\ \ \ \ \ | | | | | | | | | | | | Extend ConnectionPool.to_url to parse querystring arguments to correct type.
| * | | | | PEP8 fixesTim Savage2016-03-292-8/+22
| | | | | |
| * | | | | Extend ConnectionPool.to_url to parse querystring arguments to correct type.Tim Savage2016-03-292-4/+68
|/ / / / / | | | | | | | | | | | | | | | | | | | | Previously if a value for socket_timeout was supplied as part fo the URL an error would be raised when a socket was created with an invalid type, this change fixes that by parsing `socket_timeout`, `socket_connect_timeout` to float values. In addition the boolean values `socket_keepalive` and `retry_on_timeout` are parsed to bool types taking into account the usage of True/False, Yes/No strings.
* | | | | Merge pull request #685 from iandyh/masterAndy McCurdy2016-02-183-2/+168
|\ \ \ \ \ | |/ / / / |/| | | | Redis cluster commands
| * | | | pep8 codeiandyh2016-02-192-12/+15
| | | | |
| * | | | format long mocked response stringiandyh2016-02-181-2/+23
| | | | |
| * | | | redis cluster commandsiandyh2015-12-013-1/+143
| |/ / /
* | | | Merge pull request #706 from gward/masterAndy McCurdy2016-01-211-2/+2
|\ \ \ \ | |/ / / |/| | | Fix typo in comment.
| * | | Fix typo in comment.Greg Ward2015-12-091-2/+2
|/ / /
* | | Merge pull request #684 from blopker/feature/sentinel-timeoutAndy McCurdy2015-11-272-3/+26
|\ \ \ | | | | | | | | FIX #651 try next Sentinel node on TimeoutError
| * | | FIX #651 try next Sentinel node on TimeoutErrorBo Lopker2015-11-272-3/+26
|/ / /
* | | Merge pull request #679 from candeira/fix-getitemAndy McCurdy2015-11-252-1/+5
|\ \ \ | | | | | | | | fix getitem syntax for redis get when value is the empty string
| * | | fix getitem syntax for redis get when value is the empty stringJavier Candeira2015-11-252-1/+5
|/ / /
* | | changelogAndy McCurdy2015-11-091-0/+3
| | |
* | | raise TimeoutError if a socket.timeout is raised while connectingAndy McCurdy2015-11-091-0/+2
| | | | | | | | | | | | fixes #675
* | | simplified testing configuration and added Python 3.5 to the matrixAlex Grönholm2015-11-032-39/+13
| | |
* | | add the python 3.5 classifierAndy McCurdy2015-11-031-0/+1
| | |
* | | 2.10.5 (incrementing the version to avoid a pypi issue)2.10.5Andy McCurdy2015-11-023-3/+5
| | |
* | | 2.10.42.10.4Andy McCurdy2015-11-022-2/+2
| | |
* | | start building universal wheels with the next pypi releaseAndy McCurdy2015-11-021-0/+2
| | |
* | | socket errors on windows contain more than 2 arguments.Andy McCurdy2015-11-021-3/+4
| | | | | | | | | | | | fixes #641
* | | typoAndy McCurdy2015-11-021-2/+2
| | |
* | | ignore errors raised in SocketBuffer's close method. See #633.Andy McCurdy2015-11-021-2/+10
| | |
* | | max_connections should default to NoneAndy McCurdy2015-11-022-2/+4
| | |
* | | Merge pull request #665 from ohadpartuck/connection_pool_max_connectionsAndy McCurdy2015-11-021-2/+4
|\ \ \ | | | | | | | | adding max_connections option to StrictRedis Class
| * | | adding max_connections option to StrictRedis ClassOhad Perry2015-10-131-2/+4
| | | |
* | | | cleanupAndy McCurdy2015-11-022-7/+4
| | | |
* | | | Merge pull request #669 from th13f/masterAndy McCurdy2015-11-021-2/+12
|\ \ \ \ | | | | | | | | | | parsing 'max number of clients reached' as ConnectionError
| * | | | decreased length of exception class retrieving lineth13f2015-10-261-1/+4
| | | | |
| * | | | parsing 'max number of clients reached' as ConnectionErrorth13f2015-10-261-2/+9
|/ / / /