Message274666
> IS = Enum("IS", "a, b")
functools is meant to work with types, but the enum member "IS.a" is not a type -- however, the enum "IS" is a type.
Use "foo.register(IS)" instead. |
|
Date |
User |
Action |
Args |
2016-09-06 23:34:21 | ethan.furman | set | recipients:
+ ethan.furman, rhettinger, ncoghlan, amogorkon |
2016-09-06 23:34:21 | ethan.furman | set | messageid: <1473204861.8.0.97862205342.issue27984@psf.upfronthosting.co.za> |
2016-09-06 23:34:21 | ethan.furman | link | issue27984 messages |
2016-09-06 23:34:21 | ethan.furman | create | |
|