JulienPalard/Pipe — pull request #9 by jbvsmo (2011-12-31 03:24:25+00:00)
Title: Python 3 compatibility and reduced memory footprint on tail

- Fixed doctest for `t` on Python 3 (range converted to list).
- Python 3's strings have the `__iter__` method and that breaks `t`. Added type check.
- Changed `tail` to avoid all the iterator in memory (only qte sized list is kept).

All tests pass on Python 2 and 3