str() for containers

Donn Cave donn at
Wed Jun 16 19:41:56 CEST 2004

In article <40d07ac6 at>,
 "George Sakkis" <gsakkis at> wrote:

> I find the string representation behaviour of builtin containers
> (tuples,lists,dicts) unintuitive in that they don't call recursively str()
> on their contents (e.g. as in Java)

Please find last week's answers to this question at

If you're still interested in further discussion of this
point, you could present an account of Java's approach
for the edification of those of us who don't know.

   Donn Cave, donn at

More information about the Python-list mailing list