[Python-ideas] Re: Ability to customize how Enum interprets values with access to names

2019-10-28 Thread Steve Jorgensen
Anders Hovmöller wrote: > I do agree that this is a worthwhile feature-ish, but it's marred by the > tuples-for-values assumption. We've build very much the same thing in > tri.token (https://github.com/TriOptima/tri.token) > but tri.token is much more scalable to many arguments because it uses

[Python-ideas] Re: Ability to customize how Enum interprets values with access to names

2019-10-28 Thread Anders Hovmöller
I do agree that this is a worthwhile feature-ish, but it's marred by the tuples-for-values assumption. We've build very much the same thing in tri.token (https://github.com/TriOptima/tri.token) but tri.token is much more scalable to many arguments because it uses keyword arguments and not