For what it's worth, as a user of the language I would like sets to behave as much as possible as-if they were basically dicts that map all elements to `()`. That way I'd have to keep one less mental model in my head.
I deliberately say 'as-if' because when I'm a user of the language, I don't care how it's implemented. (Just like I don't have to care as a user that we have (at least) two different ways dicts are represented internally.)
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/WB5VJHTCEPDLVQV46YDXO3TRBDXJCK5S/ Code of Conduct: http://python.org/psf/codeofconduct/