On Mon, Aug 30, 2021 at 6:50 PM Steven D'Aprano <st...@pearwood.info> wrote:

> > They provide a *huge* advantage when they can be combined. It's easy
> > to accept a flags argument that is the bitwise Or of a collection of
> > flags,
>


> I'm not a big user of Enums, but I *think* that only applies for
> IntEnums?
>

Actually, I think that's "Flag" Enums :-) -- and this is a nice use case,
but not for the topic at hand.

-CHB


-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/GSFJIARGEPOJO2ZVMVHZM4CJFX2GU6HZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to