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 loewis
Recipients loewis, nikratio, pitrou, serhiy.storchaka, vstinner
Date 2014-04-12.22:23:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397341385.77.0.444383639252.issue21057@psf.upfronthosting.co.za>
In-reply-to
Content
Nikolaus, can you please restate from scratch what the issue is? If the issue is still the one you posed in msg214776, I think the issue should be closed as "invalid" - it's *not* the case that there is no good reason for TextIOWrapper not accepting any bytes-like object. Or, to drop the double negation: as Serhiy states, read1() should return bytes, and it's perfectly fine to rely on that. Your MyByteStream ought to fail, so it is correct behaviour that it does fail.
History
Date User Action Args
2014-04-12 22:23:05loewissetrecipients: + loewis, pitrou, vstinner, nikratio, serhiy.storchaka
2014-04-12 22:23:05loewissetmessageid: <1397341385.77.0.444383639252.issue21057@psf.upfronthosting.co.za>
2014-04-12 22:23:05loewislinkissue21057 messages
2014-04-12 22:23:05loewiscreate