andymccurdy/redis-py — pull request #309 by jparise (2013-01-07 01:44:01+00:00)
Title: Pipelines now have a __len__() method.

The length of a pipeline is defined as the length of its command
stack. This makes it easy to inspect the number of batched commands
and to write conditional logic for empty pipelines.