> On 13 Nov 2023, at 15:16, Dom Grigonis via Python-list > <python-list@python.org> wrote: > > I think it could be useful to have `xor` builtin, which has API similar to > the one of `any` and `all`. I do not understand how xor(iterator) works. I thought xor takes exactly 2 args. I also do not understand how xor can be short circuited. For AND or OR only looking at the first arg works. But that does not work for xor right? Barry -- https://mail.python.org/mailman/listinfo/python-list
- xor operator Dom Grigonis via Python-list
- Re: xor operator Barry via Python-list
- Re: xor operator Dom Grigonis via Python-list
- Re: xor operator Barry via Python-list
- Re: xor operator Michael Speer via Python-list
- Re: xor operator Dom Grigonis via Python-list
- Re: xor operator Peter J. Holzer via Python-list
- Re: xor oper... Dom Grigonis via Python-list
- Re: xor oper... Peter J. Holzer via Python-list
- Re: xor oper... Dom Grigonis via Python-list
- Re: xor oper... Dom Grigonis via Python-list
- Re: xor operator MRAB via Python-list