Message191481
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? ;) |
|
Date |
User |
Action |
Args |
2013-06-19 14:42:02 | ethan.furman | set | recipients:
+ ethan.furman, barry, amaury.forgeotdarc, ncoghlan, pitrou, eli.bendersky, eric.snow |
2013-06-19 14:42:01 | ethan.furman | set | messageid: <1371652922.0.0.98540482915.issue18264@psf.upfronthosting.co.za> |
2013-06-19 14:42:01 | ethan.furman | link | issue18264 messages |
2013-06-19 14:42:01 | ethan.furman | create | |
|