Elena Oat <oat.el...@gmail.com> added the comment: I cannot replicate this when the stream is:
In: stream_ex = io.BytesIO(u"abc\ndef\nghi\n".encode("utf-8")) In: f = codecs.EncodedFile(stream_ex, 'utf-8') In: run(f) Out: Got header: b'abc\n' Skipping the header: b'abc\n' Line 2: b'def\n' Line 3: b'ghi\n' ---------- nosy: +Elena.Oat _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33361> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com