From: matz@... (Yukihiro Matsumoto) Date: 2004-05-01T23:46:00+09:00 Subject: Re: Should StringIO support to_str ? Hi, In message "Should StringIO support to_str ?" on 04/04/30, Hugh Sasse Staff Elec Eng writes: |How is one supposed to get a string from a StringIO? If it is an |extension of string should it not support the new to_str method? I don't think it should. StringIO is an IO (actually a duck quacks like an IO) based on a string, but not a string itself. matz.