Message314897
| Author | ethan.furman |
|---|---|
| Recipients | Dutcho, barry, eli.bendersky, ethan.furman |
| Date | 2018-04-03.21:10:50 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1522789850.54.0.467229070634.issue33219@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |