add an optional argument to sort to make it return tuples
use response callbacks for sort() with tuples to work with pipelines
in _compat for py3k only encode if param is not bytes type in b()
implement PSETEX command
Format code per pep8 guidelines

A simple patch to enable pep8 in tox and format our code properly.

Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Catch exception, not anything (which could be KeyboardInterrupt).
Merge pull request #328 from lucian1900/master

Catch Exception, not everything
Added note that redis-py requires a running Redis server to connect to along with a link to installation instructions.
Merge pull request #334 from dobrite/installation-fix

Added note that redis-py requires a running Redis server (Issue #329)
changelog
allow client.transaction() to return the value of func based on kwarg. fix for #331
Merge pull request #283 from salimane/upstream

in _compat for py3k only encode if param is not bytes type in b()
changelog
Update the README with accurate pipeline transaction information
Merge pull request #336 from timdoug/update-readme

Update the README with accurate pipeline transaction information
Read all command responses of a pipeline

Otherwise a error makes the responses stuck in the socket. Which leads to wrong
responses for the following commands
connection: add an optional `BlockingConnectionPool` class.

* implements the same api as the default `ConnectionPool`
* blocks for a specified timeout when getting a connection if no
  connections are available
connection: tests for `BlockingConnectionPool`.
compat: extract queue imports to _compat module.

Adds python 2.5 support for the LifoQueue structure.
connection: remove stray print statement.