This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients amogorkon, ethan.furman, ncoghlan, rhettinger
Date 2016-09-06.23:34:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473204861.8.0.97862205342.issue27984@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2016-09-06 23:34:21ethan.furmansetrecipients: + ethan.furman, rhettinger, ncoghlan, amogorkon
2016-09-06 23:34:21ethan.furmansetmessageid: <1473204861.8.0.97862205342.issue27984@psf.upfronthosting.co.za>
2016-09-06 23:34:21ethan.furmanlinkissue27984 messages
2016-09-06 23:34:21ethan.furmancreate