On Jan 9, 2009, at 16:53 , Tom wrote:

>
> import sys
> sys.stdout.flush()
>
> was the solution!
>
> Thanks William!

If this solves the problem, it sounds like a bug to me.

Unless Sage is getting killed because of some error condition, the  
output should "drain" before the process terminates.  Adding the  
flush() might change the timing of writes to the file system, but  
shouldn't change the "correctness" of the operations.

Am I missing something about the way Python works?

Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's Income
-----------
Nobody knows the trouble I've been
-----------




--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to