← 输入框|bugs.python.org|刷新

➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 ethan.furman
收信人 amaury.forgeotdarc, barry, eli.bendersky, eric.snow, ethan.furman, ncoghlan, pitrou
日期 2013-06-19.14:42:01
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1371652922.0.0.98540482915.issue18264@psf.upfronthosting.co.za>
In-reply-to
内容
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:02ethan.furman修改recipients: + ethan.furman, barry, amaury.forgeotdarc, ncoghlan, pitrou, eli.bendersky, eric.snow
2013-06-19 14:42:01ethan.furman修改messageid: <1371652922.0.0.98540482915.issue18264@psf.upfronthosting.co.za>
2013-06-19 14:42:01ethan.furman链接issue18264 messages
2013-06-19 14:42:01ethan.furman创建