Can someone tell me why python doesn't crash when I do the following: >>> a=[] >>> a.append(a) >>> print a [[...]] >>> print a[0][0][0][0][0][0][0] [[...]]
How does python handle this internally? Will it crash or use up lot's of memory in similar but more complicated cases? -- http://mail.python.org/mailman/listinfo/python-list