[issue30718] open builtin function: specifying the size of buffer has no effect for text files

2017-12-11 Thread Nitish
Change by Nitish : -- nosy: +nitishch ___ Python tracker ___ ___ Python-bugs-list

[issue30718] open builtin function: specifying the size of buffer has no effect for text files

2017-12-06 Thread Alexey Izbyshev
Alexey Izbyshev added the comment: Yes, clarifying buffering for text mode in open() would be nice. @direprobs: just in case you didn't know, you can achieve what you want with something like the following in pre-3.7: with open("/dev/null", "wb", buffering=10) as outb, \

[issue30718] open builtin function: specifying the size of buffer has no effect for text files

2017-06-20 Thread Mansoor Ahmed
New submission from Mansoor Ahmed: *This behavior was tested on a Linux system with Python 3.5 and 3.6 Passing the buffer size for the builtin function `open` has no effect for files opened in text mode: >>> sys.version '3.5.3 (default, Jan 19 2017, 14:11:04) \n[GCC 6.3.0 20170118]' >>> f =