[issue15571] Python version of TextIOWrapper ignores "write_through" arg

Chris Jerdonek report at bugs.python.org
Tue Aug 7 09:30:04 CEST 2012


Chris Jerdonek added the comment:

The fact that the Python implementation doesn't look at write_through doesn't necessarily mean that it's not respected.  It could always write through.  Indeed, it looks like this is the case and was discussed at one point:

http://bugs.python.org/issue12591#msg141006

Also, it appears that there is a test in both cases (the test class is subclassed twice), though I could be wrong:

http://hg.python.org/cpython/file/0eeffeadaa1e/Lib/test/test_io.py#l2453

In any case, this could probably at least use a code comment.

----------
nosy: +cjerdonek

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15571>
_______________________________________


More information about the Python-bugs-list mailing list