[issue29611] TextIOWrapper's write_through option behave differently between C and pure Python implementation.

2017-05-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a duplicate of issue15571. -- resolution: -> not a bug stage: -> resolved status: open -> closed superseder: -> Python version of TextIOWrapper ignores "write_through" arg ___ Python tracker

[issue29611] TextIOWrapper's write_through option behave differently between C and pure Python implementation.

2017-02-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson, serhiy.storchaka, stutzbach ___ Python tracker ___

[issue29611] TextIOWrapper's write_through option behave differently between C and pure Python implementation.

2017-02-21 Thread INADA Naoki
New submission from INADA Naoki: In C implementation, write() calls underlaying flush() method when write_through=True. https://github.com/python/cpython/blob/3.6/Modules/_io/textio.c if (self->write_through) text_needflush = 1; if (self->line_buffering && (haslf ||