diff options
author | Kristján Valur Jónsson <sweskman@gmail.com> | 2023-01-05 12:42:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 14:42:37 +0200 |
commit | a9ef0c5d0080bd14e2f189d7f31d83e758346a8d (patch) | |
tree | bf22a1be3fccf5dbc5fcd03bf7ee2345d9b07487 /CHANGES | |
parent | a94772848db87bfc2c3cee20d8ca8b257fc37466 (diff) | |
download | redis-py-a9ef0c5d0080bd14e2f189d7f31d83e758346a8d.tar.gz |
Make PythonParser resumable (#2510)
* PythonParser is now resumable if _stream IO is interrupted
* Add test for parse resumability
* Clear PythonParser state when connection or parsing errors occur.
* disable test for cluster mode.
* Perform "closed" check in a single place.
* Update tests
* Simplify code.
* Remove reduntant test, EOF is detected inside _readline()
* Make syncronous PythonParser restartable on error, same as HiredisParser
Fix sync PythonParser
* Add CHANGES
* isort
* Move MockStream and MockSocket into their own files
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,3 +1,4 @@ + * Make PythonParser resumable in case of error (#2510) * Add `timeout=None` in `SentinelConnectionManager.read_response` * Documentation fix: password protected socket connection (#2374) * Allow `timeout=None` in `PubSub.get_message()` to wait forever |