Message189890
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. |
|
Date |
User |
Action |
Args |
2013-05-24 02:53:23 | ncoghlan | set | recipients:
+ ncoghlan, eli.bendersky, ethan.furman |
2013-05-24 02:53:23 | ncoghlan | set | messageid: <1369364003.18.0.445813327827.issue18042@psf.upfronthosting.co.za> |
2013-05-24 02:53:23 | ncoghlan | link | issue18042 messages |
2013-05-24 02:53:22 | ncoghlan | create | |
|