Martin Panter <vadmium...@gmail.com> added the comment:

It may also be worth implementing BufferedIOBase and TextIOBase. (It seems 
buffering=0 isn’t reliable, e.g. rollover with limited disk space, so it may 
not be worth implementing RawIOBase.)

To implement BufferedIOBase, “read1” and “readinto1” should be added.

To implement TextIOBase, “errors” should be added, and “newlines” should only 
list translated newlines, not the “newline” constructor argument.

Technically, “detach” should also be implemented, although it doesn’t have to 
do anything useful.

----------

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

Reply via email to