Ethan Furman added the comment:

In flufl.enum integers also made since as that was the default back-end data 
type.

Currently, the functional method allows a type declaration.  The behavior there 
could be tweaked such that no specification meant no value (a truly valueless 
enum!), type=int means ints starting from 1, type=str meant str values of 
names, any other value and you better had made your own enum derived class to 
support it.

----------

_______________________________________
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