On Thu, Jun 14, 2018, 7:24 PM Mikhail V <mikhail...@gmail.com> wrote:
> what haven't we repeated in this thread yet? Motivation was explained. > You have repeated your explanations a few times. It isn't convincing. It seems to me that your main complaint is that strings are iterable, though you haven't expressed it as such. During slice assignment, you're surprised that the string is a sequence of characters. I understand, but I don't find that confusion a compelling reason to add a new operator. About confusion probably haven't discussed : so Xor ^ works on sets, > IIRC for finding > union without common elements. > I wrote about this in an earlier email, which you didn't reply to. You're correct that xor doesn't make sense with lists, especially not between a list and a single element. Again, though other operators have been given different meanings in special contexts, those decisions should be seen as abnormal, not an excuse to keep creating more special cases. >
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/