andymccurdy/redis-py — pull request #263 by jparise (2012-07-07 00:51:57+00:00)
Title: Improved `from_url()` support.

`from_url()` is now implemented as a classmethod. The previous
implementation always returned instances of the `Redis` class. This
new approach lets us construct StrictRedis instances (or any other
class derived from StrictRedis, including Redis).

`utils.from_url()` has been preserved for backwards compatibility.

Also, both versions of `from_url()` now pass along any additional
keyword arguments to the class's initializer.