…ld be impossible to restart the redis instance being tested against.
… versions that returned None rather than an empty list.
…lowing keys: type -- the message type, data -- the actual message, channel -- the channel the message was delivered on. if the message was triggered due to a pattern matched from psubscribe, then a 4th key will be present: pattern, indicating the pattern that was matched.
…redis.lock('lockname'): ..." allow "sleep" to be specified as an argument to the lock moved the timeout parameter to Lock's __init__ to better mimic threading.lock, and allow it to be used in conjunction with context manager support.
convenience function on the redis client to instantiate a new Lock object.