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 ncoghlan
Recipients eli.bendersky, ethan.furman, ncoghlan
Date 2013-05-24.02:53:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369364003.18.0.445813327827.issue18042@psf.upfronthosting.co.za>
In-reply-to
Content
You don't generally see reversals of decisions where Guido has made an explicit choice based on consistency with the rest of the language. The fact that aliases are permitted in enumerations by default is consistent with the normal behaviour of namespaces and dictionaries in general, so providing a way to opt in to the stricter checks is a better solution.

The idea of passing flags or other configuration options to the metaclass is also rather ugly. Offering permissive behaviour by default with an easy way to opt in to additional restrictions is far more in keeping with the general "consenting adults" ethos of the language.
History
Date User Action Args
2013-05-24 02:53:23ncoghlansetrecipients: + ncoghlan, eli.bendersky, ethan.furman
2013-05-24 02:53:23ncoghlansetmessageid: <1369364003.18.0.445813327827.issue18042@psf.upfronthosting.co.za>
2013-05-24 02:53:23ncoghlanlinkissue18042 messages
2013-05-24 02:53:22ncoghlancreate