@MRAB,

Yes -- good point, it should be the __and__ operator.

do I need a new class? No, but based on this use case and other formatting 
techniques adding a filter method to the list class that takes in either bit 
mask or bool list would streamline a lot of code and not change any existing 
functionality
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to