fast-nail-55400
10/28/2021, 2:53 AMFrozenDict
always returns its elements in the same order when running repr
on it?fast-nail-55400
10/28/2021, 2:55 AMfast-nail-55400
10/28/2021, 2:56 AMfast-nail-55400
10/28/2021, 2:57 AMFrozenOrderedSet
where insertion order does not matter.fast-nail-55400
10/28/2021, 2:59 AMFrozenDict
?fast-nail-55400
10/28/2021, 3:01 AMTrue
regardless of the order in which I constructed the data structure in question)happy-kitchen-89482
10/28/2021, 3:27 AMfast-nail-55400
10/28/2021, 3:38 AM>>> {"a": 0, "b": 1} == {"b": 1, "a": 0}
True
fast-nail-55400
10/28/2021, 3:39 AMhappy-kitchen-89482
10/28/2021, 3:42 AMhappy-kitchen-89482
10/28/2021, 3:42 AMhappy-kitchen-89482
10/28/2021, 3:44 AMself._data _==_ other._data
I would have thoughthappy-kitchen-89482
10/28/2021, 3:44 AM