Sept. 24, 2015
2:24 a.m.
Serhiy Storchaka added the comment: https://docs.python.org/3/library/io.html#io.TextIOBase.buffer """buffer The underlying binary buffer (a BufferedIOBase instance) that TextIOBase deals with. This is not part of the TextIOBase API and may not exist in some implementations.""" It is common to replace standard streams with StringIO. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue21995> _______________________________________