[Python-3000] Recursive str
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Apr 12 05:14:32 CEST 2008
Thomas Wouters wrote:
> I don't see the value in str(['1', 1, '1, [1]', '1]',
> '\n[1']) giving hard to understand output.
Random data point: Being forced to do some Ruby programming
recently, I found that Ruby does in fact produce just this
sort of ambiguous output when you print a list, and it's
very annoying!
I'm very happy that Python doesn't do this.
--
Greg
More information about the Python-3000
mailing list