消息 [191481]
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? ;) |
|
| 日期 |
用户 |
动作 |
参数 |
| 2013-06-19 14:42:02 | ethan.furman | 修改 | recipients:
+ ethan.furman, barry, amaury.forgeotdarc, ncoghlan, pitrou, eli.bendersky, eric.snow |
| 2013-06-19 14:42:01 | ethan.furman | 修改 | messageid: <1371652922.0.0.98540482915.issue18264@psf.upfronthosting.co.za> |
| 2013-06-19 14:42:01 | ethan.furman | 链接 | issue18264 messages |
| 2013-06-19 14:42:01 | ethan.furman | 创建 | |
|