[issue11633] Document that print may need explicit flushing

2012-01-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8935a33773b9 by Terry Jan Reedy in branch '2.7': #11633 about buffering of print http://hg.python.org/cpython/rev/8935a33773b9 -- ___ Python tracker _

[issue11633] Document that print may need explicit flushing

2012-01-13 Thread Éric Araujo
Éric Araujo added the comment: Bug fixes include doc improvements, so 2.7 is fair game. Thanks for your suggestion to not mention specific platforms. Let’s just backport the 3.2 text. -- ___ Python tracker

[issue11633] Document that print may need explicit flushing

2012-01-13 Thread Cameron Simpson
Cameron Simpson added the comment: Putting the wording into 2.7 might be nice, but I thought it was in bugfix only mode. Regarding UNIX only, I'd avoid it; any file may be buffered in almost any way on any platform. Saying an explicit flush call may be necessary for immediate output is _not_

[issue11633] Document that print may need explicit flushing

2012-01-13 Thread Éric Araujo
Éric Araujo added the comment: Thank you sir. Should the doc edit be backported to the 2.7 docs, with a mention that it’s only on unix? -- ___ Python tracker ___ _

[issue11633] Document that print may need explicit flushing

2012-01-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a767054551b by Terry Jan Reedy in branch '3.2': #11633 At least 2 people prefer earlier revision. http://hg.python.org/cpython/rev/4a767054551b New changeset 22688f5f9d0f by Terry Jan Reedy in branch 'default': Merge #11633 At least 2 people prefe

[issue11633] Document that print may need explicit flushing

2012-01-12 Thread Éric Araujo
Éric Araujo added the comment: I agree with the python-ideas message that ``sys.stdout.flush()`` is surprising / possibly misleading and should be ``file.flush()``. If the other bug report about adding a flush argument is rejected, please consider this. Thanks :) -- ___

[issue11633] Document that print may need explicit flushing

2012-01-11 Thread Cameron Simpson
Changes by Cameron Simpson : -- nosy: +cameron ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11633] Document that print may need explicit flushing

2012-01-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: #13761 proposes to add flush=False param with option for True. -- ___ Python tracker ___ ___ Python

[issue11633] Document that print may need explicit flushing

2012-01-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc043cef94f2 by Terry Jan Reedy in branch '3.2': Closes #11633 Clarify print buffering. http://hg.python.org/cpython/rev/bc043cef94f2 New changeset fb0d61fd1753 by Terry Jan Reedy in branch 'default': Merge with 3.2 http://hg.python.org/cpython/rev

[issue11633] Document that print may need explicit flushing

2012-01-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current doc says "print([object, ...], *, sep=' ', end='\n', file=sys.stdout) Print object(s) to the stream file, separated by sep and followed by end. sep, end and file, if present, must be given as keyword arguments. All non-keyword arguments are conve