On Sat, Nov 30, 2002 at 06:51:02PM -0800, Michael Lazzaro wrote: > But the two uses are incompatible: by supporting one goal, we pretty > much trash the other. By supporting the "useful internal" stuff, we are > making it more difficult to use stringification for simple, common text > I/O purposes. By supporting the "pretty" stuff, we are making it more > difficult to print useful debugging messages.
I think this is the reason python has both str() and repr(). One is pretty, the other useful. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]