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 mdk
Recipients ethan.furman, magu, mdk
Date 2017-02-19.16:48:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487522926.12.0.108945124104.issue29594@psf.upfronthosting.co.za>
In-reply-to
Content
Your implementation looks right, but I don't see the point of defining combinations AB, AC, ABD in the Foo enum. Foo may only define A, B, C, D and outside of Foo anyone can build any needed combinations.

This way it looks clear in the Foo declaration (4 lines, 4 auto()). Did I missed a usefull usage of declaring combination inside the enum?
History
Date User Action Args
2017-02-19 16:48:46mdksetrecipients: + mdk, ethan.furman, magu
2017-02-19 16:48:46mdksetmessageid: <1487522926.12.0.108945124104.issue29594@psf.upfronthosting.co.za>
2017-02-19 16:48:46mdklinkissue29594 messages
2017-02-19 16:48:46mdkcreate