This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Elena.Oat
Recipients Elena.Oat, da
Date 2018-04-26.12:16:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524744974.06.0.682650639539.issue33361@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2018-04-26 12:16:14Elena.Oatsetrecipients: + Elena.Oat, da
2018-04-26 12:16:14Elena.Oatsetmessageid: <1524744974.06.0.682650639539.issue33361@psf.upfronthosting.co.za>
2018-04-26 12:16:14Elena.Oatlinkissue33361 messages
2018-04-26 12:16:14Elena.Oatcreate