[Python-bugs-list] comparisons of recursive objects (PR#7)

da@ski.org da@ski.org
Mon, 12 Jul 1999 18:53:11 -0400 (EDT)


Full_Name: David Ascher
Version: 1.5.2
OS: NT4SP3
Submission from: (NULL) (209.117.142.20)


When comparing (e.g.) two lists that contain themselves, the interpreter can
dump core. For
example: 

  a = []; a.append(a)
  b = []; b.append(b)
  cmp(a, b)