Ethan Furman added the comment:

I have no problem with leaving __str__ as the inherited type's, and just 
keeping the __repr__ as the enum add-on; this could be one of the differences 
between a pure Enum and a hybrid Enum.

Is it safe to change the json behaviour back to using __str__ for floats?  If 
so, those two updates and we could be good to go.  (Famous last words? ;)

----------

_______________________________________
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