<div dir="ltr"><div><div>> Presumably you want a bitfield enum, and those should descend from
    IntEnum.<br><br></div>Yes, and probably having an AutoNumberIntEnum would indeed be too much magic in one place.<br></div><div>Anyway, it is easy to implement bitfield IntEnum without magic.<br></div><div><br></div>To be clear, I like the Ethan's original proposal.<br><div><div><div class="gmail_extra"><div class="gmail_quote"><div><br>--<br></div><div>Ivan<br><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
    TBH I'd prefer the AutoNumberEnum *not* have this feature; it's
    already a little too magical for my tastes.<br>
    <br>
    <br>
    <i>/arry</i><br>
  </div>

<br>_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/levkivskyi%40gmail.com" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/levkivskyi%40gmail.com</a><br>
<br></blockquote></div><br></div></div></div></div>