From: Jim Weirich Date: 2004-04-24T05:20:01+09:00 Subject: Re: StringIO Hal Fulton said: > But I tried to use #select with a StringIO and it complained. > (If this is unreasonable, tell me, but it's not obvious to me.) Select is based on the OS select system call which requires file numbers to work. Since a StringIO object is not connected to an OS file number, I'm not surprised select didn't work for it. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)