On Sat, Jan 3, 2015 at 10:50 AM, patrick vrijlandt <pvrijla...@gmail.com> wrote: > Hello list, > > Let me first wish you all the best in 2015! > > Today I was trying to test for occurrence of a byte in a set ...
In the last case, the set has integers in it. Try: b'b'[0] in set(b'abc') -- https://mail.python.org/mailman/listinfo/python-list