Re: [Python-ideas] Callable Enum values

2017-04-20 Thread Ethan Furman
On 04/20/2017 10:40 AM, Steve D'Aprano wrote: On Fri, 21 Apr 2017 03:20 am, Ethan Furman wrote: [redirecting back to the list] Possibly the wrong list? This isn't Python-Ideas. Woops! Thanks. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list

Re: [Python-ideas] Callable Enum values

2017-04-20 Thread Steve D'Aprano
On Fri, 21 Apr 2017 03:20 am, Ethan Furman wrote: > [redirecting back to the list] Possibly the wrong list? This isn't Python-Ideas. -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse. -- https://mail.python.org/mailman/listinfo/pyth

Re: [Python-ideas] Callable Enum values

2017-04-20 Thread Ethan Furman
[redirecting back to the list] On 04/19/2017 11:15 PM, Stephan Hoyer wrote: Ethan and Steven, Thanks for your feedback on this one. I agree that it probably doesn't make sense for the standard library. I'm still not really happy with any of the standard approaches for choosing a function bas