Ethan Furman <et...@stoneleaf.us> added the comment:
Thank you to everyone involved. :-) To answer the first three points that started this issue: 1. iteration -> each single-bit flag in the entire flag, or a combinations of flags, is returned one at a time -- not the empty set, not other multi-bit values 2. length is implemented -> `len(Color.BLUE | Color.RED) == 2` 3. subset is implemented as containment checking: `Color.BLUE in (Color.RED | Color.BLUE) is True` ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38250> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com