Message314993
issue33217 is tracking member-containment checks; modifying this one to track class-containment checks.
Given
class Color(Enum):
RED = 1
class Fruit(Enum):
APPLE = 1
then
--> Fruit.APPLE in Color
False
--> Fruit.APPLE in Fruit
True
--> 1 in Fruit
TypeError
The last is currently returning False instead of raising a TypeError. |
|
| Date |
User |
Action |
Args |
| 2018-04-05 16:32:04 | ethan.furman | set | recipients:
+ ethan.furman, barry, eli.bendersky, Dutcho, nitishch |
| 2018-04-05 16:32:04 | ethan.furman | set | messageid: <1522945924.92.0.682650639539.issue33219@psf.upfronthosting.co.za> |
| 2018-04-05 16:32:04 | ethan.furman | link | issue33219 messages |
| 2018-04-05 16:32:04 | ethan.furman | create | |
|