Author veky
Recipients barry, eli.bendersky, ethan.furman, ezio.melotti, martin.panter, python-dev, r.david.murray, rhettinger, serhiy.storchaka, veky, vstinner
Date 2016-09-03.16:52:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472921538.81.0.262487627575.issue23591@psf.upfronthosting.co.za>
In-reply-to
Content
Hmm... so if I read you right:

1) IntFlags is not simply the meet of int and Flags (like IntEnum is the meet of int and Enum, https://docs.python.org/3.5/library/enum.html#others)? It seems a very different class.

2) (more important) If I give names to 1, 3, 4, and 6, you're in fact saying that MyFlags(7) == MyFlags(5) (since 2 is never set)? Seems like succumbing to temptation to guess. ;-/ But maybe it's not bad in this case, since there is really no ambiguity.
History
Date User Action Args
2016-09-03 16:52:18vekysetrecipients: + veky, barry, rhettinger, vstinner, ezio.melotti, r.david.murray, eli.bendersky, ethan.furman, python-dev, martin.panter, serhiy.storchaka
2016-09-03 16:52:18vekysetmessageid: <1472921538.81.0.262487627575.issue23591@psf.upfronthosting.co.za>
2016-09-03 16:52:18vekylinkissue23591 messages
2016-09-03 16:52:18vekycreate