Barry A. Warsaw added the comment:

On Jun 19, 2013, at 06:45 AM, Ethan Furman wrote:

>To sum up: the name is already available in the name, no need to have it be
>the value as well.  I am open to changing the start value to zero instead of
>one (which is what I do in my customization of Enum in my personal modules ;)

I'm sure it's obvious that I prefer start-from-one, and aside from the
truthiness question, it would maximize compatibility with flufl.enum.
Besides, the functional API accepts a sequence so if you *really* wanted
start-from-zero, then you can do it easily.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17961>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to