Comparison of cyclic objects (was RE: [Python-Dev] trashcan andPR#7)

Tim Peters tim_one@email.msn.com
Sat, 15 Apr 2000 01:51:57 -0400


[Tim]
> Well, while an instance of graph isomorphism, this one is a relatively
> simple special case (because "the graphs" here are rooted, directed, and
> have ordered children).

[Moshe Zadka]
> Ordered? What about dictionaries?

An ordering of a dict's kids is forced in the context of comparison (see
dict_compare in dictobject.c).