Re: A proposal to modify `None` so that it hashes to a constant

Greg Ewing <[email protected]> Tue, 29 Nov 2022 13:34:54 +1300
Newsgroups gmane.comp.python.devel
Message-ID <[email protected]>
On 29/11/22 12:51 pm, Guido van Rossum wrote:
> "Sets weren't meant to be deterministic" sounds like a remnant of 
> the old philosophy, where we said the same about dicts -- until they 
> became deterministic without slowing down, and then everybody loved it.

I got the impression that there were some internal language reasons
to want stable dicts, e.g. so that the class dict passed to __prepare__
preserves the order in which names are assigned in the class body. Are
there any such use cases for stable sets?

-- 
Greg