This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients barry, eli.bendersky, ethan.furman, ezio.melotti, martin.panter, r.david.murray, serhiy.storchaka
Date 2016-08-10.04:55:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470804905.69.0.867756915209.issue23591@psf.upfronthosting.co.za>
In-reply-to
Content
The idea behind Flags is that they are easily combined enums.  The advantage they have over IntFlags is they do not interact with integers, and they cannot have non-existing values used.  By keeping the same API as IntFlags we only have two APIs instead of three (Enum and Flag instead of Enum, EnumSet, and IntFlag), and also make life easier for changing code from one to the other (Flag <-> IntFlag).
History
Date User Action Args
2016-08-10 04:55:05ethan.furmansetrecipients: + ethan.furman, barry, ezio.melotti, r.david.murray, eli.bendersky, martin.panter, serhiy.storchaka
2016-08-10 04:55:05ethan.furmansetmessageid: <1470804905.69.0.867756915209.issue23591@psf.upfronthosting.co.za>
2016-08-10 04:55:05ethan.furmanlinkissue23591 messages
2016-08-10 04:55:05ethan.furmancreate