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.

Author ethan.furman
Recipients amaury.forgeotdarc, barry, eli.bendersky, eric.snow, ethan.furman, ncoghlan, pitrou
Date 2013-06-19.14:42:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371652922.0.0.98540482915.issue18264@psf.upfronthosting.co.za>
In-reply-to
Content
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? ;)
History
Date User Action Args
2013-06-19 14:42:02ethan.furmansetrecipients: + ethan.furman, barry, amaury.forgeotdarc, ncoghlan, pitrou, eli.bendersky, eric.snow
2013-06-19 14:42:01ethan.furmansetmessageid: <1371652922.0.0.98540482915.issue18264@psf.upfronthosting.co.za>
2013-06-19 14:42:01ethan.furmanlinkissue18264 messages
2013-06-19 14:42:01ethan.furmancreate