Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment: Please read http://docs.python.org/dev/library/io.html#io.TextIOBase.newlines _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue3359> _______________________________________