#9369: make verbose command flush its output
---------------------------+------------------------------------------------
Reporter: was | Owner: jason
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.5.2
Component: misc | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by jsrn):
This sort of behaviour is standard in most programming languages for
efficiency: whenever the OS is asked to print to a file (and in some
cases, also if it is to a terminal), it collects output until some buffer
is filled, and this entire buffer is then output in one go. If flushing is
needed (e.g. for when output is only produced rarely between heavy
computations), it should be explicitly stated.
I am not completely sure if the above usage corresponds well to the
intended workflow of the verbose function, but this concern should at
least be considered before adding the mandatory flush statement. After
all, the flush statement could just have been manually added in foo.sage.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9369#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.