[Python-Dev] MS CRT crashing:

Bill Tutt billtut@microsoft.com
Thu, 18 Jan 2001 16:53:15 -0800


>From the internal support squad:
Turns out the C standard explicitly says you can't have an input follow
output on a stream without doing fflush or fseek in-between, to make sure
the stdio buffer is cleared.  So this program is illegal.

They've gone and resolved it by design.

FYI,
Bill

 -----Original Message-----
From: 	Bill Tutt  
Sent:	Wednesday, January 10, 2001 1:09 AM
To:	'Tim Peters'
Cc:	'Mark Hammond'
Subject:	RE: [Python-Dev] xreadlines : readlines :: xrange : range

Heh. I've tossed this code to internal support. I'll give a yell if I hear
anything interesting.

Thanks for the C test case,
Bill