zulip/zerver/tornado
Greg Price b63e995e82 tornado: Fix a Redis-caused str/bytes bug in `status_inquiries`.
Because the Redis client returns exclusively bytes -- even for
hash keys -- even on Python 3, the test `'response' in status`
was always returning false, and the line that tries to decode
as JSON was never running, so we were passing `response`
through as a `bytes` object encoding some JSON.

I'm not sure what the impact of this bug was, and in particular
whether something downstream would have fudged it to make up for
this error.
2017-08-25 16:14:33 -07:00
..
__init__.py tornado: Move tornado_ioloop_logging to new zerver/tornado tree. 2016-11-26 21:24:05 -08:00
application.py mypy: Remove type: ignores not needed in Python 3. 2017-08-25 11:04:20 -07:00
descriptors.py pep8: Add compliance with rule E261 to descriptors.py. 2017-05-07 23:21:50 -07:00
event_queue.py mypy: Remove type: ignores not needed in Python 3. 2017-08-25 11:04:20 -07:00
exceptions.py tornado: Use a machine-readable error code when an event queue is gone. 2017-07-24 16:41:22 -07:00
handlers.py mypy: Remove superfluous older 'type: ignore' annotations. 2017-08-08 11:27:51 -07:00
ioloop_logging.py mypy: Remove type: ignores not needed in Python 3. 2017-08-25 11:04:20 -07:00
socket.py tornado: Fix a Redis-caused str/bytes bug in `status_inquiries`. 2017-08-25 16:14:33 -07:00
views.py errors: Eliminate redundant `json_response_to_error` calls. 2017-07-25 15:33:11 -07:00
websocket_client.py websocket_client: Use get_system_bot. 2017-08-24 23:16:18 -07:00