On Apr 29, 2013, at 11:10 AM, Stephen J. Turnbull wrote: >Ethan thinks that "Seasons(3)" is a typecast, not an access into a >mapping (which would be better expressed by "Seasons[3]"). Ie, the >inverse of "int(AUTUMN)". > >This is consistent with the "AUTUMN is-a Seasons" position that Ethan >and Guido take. It's inconsistent with the "AUTUMN is-a >Seasons_VALUE" implementation of Flufl.Enum.
I think this sums it up perfectly. I get that using class definition syntax is what sends people down Ethan's path. -Barry _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com