roxen.lists.pike.general

Subject Author Date
Re: FakeFile() and to assign() or not to assign() Stephen R. van den Berg <srb[at]cuci[dot]nl> 12-02-2009
Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) importm?te f?r
mailinglistan wrote:
>Yes.  assign() works by copying the "_fd" of the file object, but a
>FakeFile does not have one of those.

I see.
Would extending Stdio.FakeFile() to support getchar/gets/unread be
a viable or even desirable option?
-- 
Sincerely,
           Stephen R. van den Berg.
The first 90% of code accounts for the first 90% of development time.
The remaining 10% of code accounts for the other 90% of development time.