Message314897
issue33217 will not be "fixed" with a TypeError, but incorrect Falses are also bad.
Rather than add __contains__ to IntFlag (and every other Flag mixin), I think the best answer is to adjust Flag.__contains__ a little bit more to check if `other` is of the same type as the mixin class, and if so see if it's one of the values.
Thank you for being thorough and finding this problem as well. |
|
| Date |
User |
Action |
Args |
| 2018-04-03 21:10:50 | ethan.furman | set | recipients:
+ ethan.furman, barry, eli.bendersky, Dutcho |
| 2018-04-03 21:10:50 | ethan.furman | set | messageid: <1522789850.54.0.467229070634.issue33219@psf.upfronthosting.co.za> |
| 2018-04-03 21:10:50 | ethan.furman | link | issue33219 messages |
| 2018-04-03 21:10:50 | ethan.furman | create | |
|