add an optional argument to sort to make it return tuples
use response callbacks for sort() with tuples to work with pipelines
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>
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.
connection: fix py3 syntax bug.
tests: tweak blocking connection pool test.

Previously the `test_max_connections_blocks` test wasn't actually
testing that the connection was blocking.
Add python3 and python2.5 compatibility
Merge branch 'psetex' of git://github.com/yamt/redis-py into yamt-psetex
added PSETEX
math is hard
Merge pull request #340 from thruflo/master

Add optional `redis.connection.BlockingConnectionPool` class.
changelog
Merge pull request #327 from pabelanger/pep8

Format code per pep8 guidelines
Merge pull request #338 from stephan-hof/corrupted_pipeline_socket

socket gets corrupted if errors in pipeline happen
Merge branch 'master' of git://github.com/mapleoin/redis-py into mapleoin-master

Conflicts:
	redis/client.py