Ethan Furman added the comment:

I'll check you patch later against big numbers (which is where I had 
difficulties).  If it works I'll try to make it more complete.  If it doesn't, 
I've been working on just extraction the Enum member's value and using that 
(works fine on the Python side ;) .

Big Question:  if the Enum member was used as a key, do we use .name or .value? 
 The decision I went with was to compare the hashes of the member name vs the 
member itself -- if they're the same, use the .name, otherwise use the value.

----------

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

Reply via email to