<div dir="ltr">Maybe it is time to deemphasize the creation and passing of what is, in effect, <a href="https://en.wikipedia.org/wiki/Bit_array">bit-sets </a>as a single argument, and instead promote the passing of a set of members of an <a href="https://docs.python.org/3/library/enum.html">enum.Enum</a> constants.<br><br>Thi comes about because someone wrote a description, (since deleted), of constructing bit-sets to use in passing flags to, for example, the<a href="https://docs.python.org/3/library/re.html#re.compile"> re.compile </a>function. The use of individual bits in a bit-array/bit-set to pass multiple flags is an implementation detail. Should we not <i>first </i>teach the passing of a set of enum.Enum constant values in one argument as the <i>pythonic </i>way; and leave bit-sets and other types of enum's as a performance or interoperability detail?<br><br>Comments please, (And a happy new year to you :-)<br><br></div>