[TxMt] Re: Line buffering for the Stdout window?

Mathieu Godart mathieu at coolsand-tech.fr
Fri Apr 10 09:26:48 UTC 2009


Of course, no need to suggest to flush STDOUT each time by wrapping  
the write command?

Mathieu


Le 10 avr. 09 à 10:01, Chris Rebert a écrit :

> On Fri, Apr 10, 2009 at 12:43 AM, Jean-Denis Muys <jdmuys at free.fr>  
> wrote:
>> Hello,
>>
>> I'm growing increasingly annoyed with an issue I could not find a
>> solution for: the output to stderr and stdout getting out of sync in
>> the default TextMate output window.
>>
>> I am currently developping for Perl, but I quickly checked that the
>> issue is there for Ruby as well.
>
> Apparently Python too:
>
> #program:
> from sys import stderr as e, stdout as o
> e.write("debug1\n")
> o.write("hi\n")
> e.write("bug2\n")
> o.write("bye\n")
> e.write("buggy3\n")
>
> #textmate output window:
> hi
> bye
> debug1
> bug2
> buggy3
>
> Cheers,
> Chris
>
> --
> I have a blog:
> http://blog.rebertia.com
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list