Failing fast is good, but it is also a very common case to want to add an item to a collection regardless of whether it is set-like or sequence-like.
Does the fact that the `append` and `add` methods would still exist mitigate your objection? Call `append` when expecting a list, call `add` when expecting a set, or call `push` or use `<<` when either of those would be appropriate targets. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/UMCYJRIOZHHCUSVUXY7GLRRP5WIFWOU5/ Code of Conduct: http://python.org/psf/codeofconduct/