[issue18510] if Enum member value is not hashable an exception is raised

2013-07-19 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18510] if Enum member value is not hashable an exception is raised

2013-07-19 Thread Ethan Furman
New submission from Ethan Furman: While working on issue #18508 I stumbled across this: Traceback (most recent call last): ... File "/usr/local/lib/python3.4/enum.py", line 417, in __new__ if value in cls._value2member_map: TypeError: unhashable type: 'list' I'll wrap it in a try-except b