Comment Comment by fulafel It has similar (but not identical) behaviour though: >>> for line in StringIO("foo\x85bar\vquux\u2028zoot"): print(line) ... foo bar quux zoot parent fulafel 1 year ago