On 3/07/2006 4:45 PM, Lawrence D'Oliveiro wrote:
> In article <[EMAIL PROTECTED]>,
>  John Machin <[EMAIL PROTECTED]> wrote:
> 
>> On 2/07/2006 3:48 PM, Lawrence D'Oliveiro wrote:
>>> In article <[EMAIL PROTECTED]>,
>>>  John Machin <[EMAIL PROTECTED]> wrote:
>>>
>>>> -u unbuffers sys.stdout 
>>>> and sys.stderr (and makes them binary, which wouldn't be a good idea on 
>>>> a Windows box).
>>> Why not?
>> If binary, '\n' would appear as LF alone rather than CR LF.
> 
> Why should that matter?

Because the contents of the output would be different. Haven't you ever 
wondered why (or read the manuals that explain why) Python, C , etc file 
I/O libraries have a text mode and a binary mode?

> I thought Windows (the NT line) was 
> POSIX-compliant.

What on earth gave you that idea?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to