Martin v. Löwis added the comment:

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.

----------
nosy: +loewis

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21057>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to