Closed shaunxcode closed 10 years ago
set([1,2,3,edn_format.Symbol("a")]) == set([1,2,3,edn_format.Symbol("a")]) yields False
set([1,2,3,edn_format.Symbol("a")]) == set([1,2,3,edn_format.Symbol("a")])
False
Yet: edn_format.Symbol("a") == edn_format.Symbol("a") yields True
edn_format.Symbol("a") == edn_format.Symbol("a")
True
In [2]: set([1,2,3,edn_format.Symbol("a")]) == set([1,2,3,edn_format.Symbol("a")]) Out[2]: True
set([1,2,3,edn_format.Symbol("a")]) == set([1,2,3,edn_format.Symbol("a")])
yieldsFalse
Yet:
edn_format.Symbol("a") == edn_format.Symbol("a")
yieldsTrue