> Unless my eyes are squiffy the 2nd dictionary of sets
> appears ordered. I've run it with other numbers > 25
> and continue to get ordered sets but anything < 25
> results in unordered sets. A feature or a bug?
No, not a feature or a bug... it would be a bug to assume
the elements will be in o
Here is an interesting result with defaultdict(set). This program creates 2
dictionaries of sets with the first dictionary containing 10 elements per set
and the second containing 25 elements. You'll see the sets in the first
dictionary are unordered and in the second they are ordered.
impor