From: "Mark J. Reed" Date: 2003-09-24T01:34:17+09:00 Subject: Re: Making my own output stream On Mon, Sep 22, 2003 at 11:34:24AM +0900, Gavin Sinclair wrote: > Would inheriting from StringIO work? It would, but I'd still have to overload just about every method. However, encapsulating a StringIO works, because then I can use method_missing to delegate calls to the enclosed StringIO, without specifically writing near-duplicate code for every method. Thanks for the tip! -Mark