I just opened a new issue about the binary mode problem with next(): http://bugs.python.org/issue5455 Skip