Ramchandra Apte added the comment: On 19 October 2013 04:56, Terry J. Reedy <rep...@bugs.python.org> wrote:
> > Terry J. Reedy added the comment: > > 'XOR of two bytes in one place' strikes me as a thin excuse for a new > feature that abbreviates a simple, short, one-liner. To me, bytes(x ^ y for > x, y in zip(a, b)) looks fine. a and b can be any iterables of ints. > > ---------- > nosy: +terry.reedy > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue19251> > _______________________________________ > Hm... I think you are right. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19251> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com