Antoine Pitrou <pit...@free.fr> added the comment: > But now the question remains what the default is -- "full buffering" is > only meaningful with a specified buffer size. The implementation seems > to default to line buffering.
"full" buffering actually uses a default or custom buffer size when you don't specify it. 4096 or 8192 usually (yes there's a heuristic :-)). "full" buffering is the default for binary streams, as well as for text streams which aren't a tty. text streams which are tty default to line buffering. (I admit full buffering is a confusing name; what could we use instead? fixed-size buffering? chunk buffering?) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7545> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com