[Python-ideas] Pythonic buffering in Py3 print() (original) (raw)
INADA Naoki songofacandy at gmail.com
Tue Jan 10 10:05:00 CET 2012
- Previous message: [Python-ideas] Pythonic buffering in Py3 print()
- Next message: [Python-ideas] Pythonic buffering in Py3 print()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jan 10, 2012 at 5:49 PM, Carl M. Johnson <cmjohnson.mailinglist at gmail.com> wrote:
On Jan 9, 2012, at 7:52 PM, INADA Naoki wrote:
What about adding flush=False keyword argument to print()? I would expect flush=False to mean "please don't flush this right now, even if I do use a newline."
print() doesn't flushes even if there is newline. So the keyword argument means "do or don't call flush() method of the file."
flush=None?
Python-ideas mailing list Python-ideas at python.org http://mail.python.org/mailman/listinfo/python-ideas
-- INADA Naoki <songofacandy at gmail.com>
- Previous message: [Python-ideas] Pythonic buffering in Py3 print()
- Next message: [Python-ideas] Pythonic buffering in Py3 print()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]