On Sun, 05 Dec 2004 09:44:13 -0500, Kent Johnson <[EMAIL PROTECTED]> wrote:This behaviour is due to the way strings are handled. In some cases strings are 'interned' which lets the interpreter keep only a single copy of a string. If you try it with a list you get a different result
Thanx Kent. so for lists Python doesn't keep the same object in the
cache???
Right, AFAIK lists are not cached in this way.
Kent -- http://mail.python.org/mailman/listinfo/python-list