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.20:15:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I was unable to find any references to previous problems with json and floats.  A quick-n-dirty patch yields the following:

--> from json import dumps, loads
--> from enum import Enum
--> class FE(float, Enum):
...   pass
--> class Test(FE):
...   one = 1.0
< 1.0>
--> str(
--> dumps(
--> loads(dumps(

All json and enum tests are still passing.

If this is an acceptable solution I'll create a nicer patch and post for review.
Date User Action Args
2013-06-19 20:15:25ethan.furmansetrecipients: + ethan.furman, barry, amaury.forgeotdarc, ncoghlan, pitrou, eli.bendersky, eric.snow
2013-06-19 20:15:25ethan.furmansetmessageid: <>
2013-06-19 20:15:25ethan.furmanlinkissue18264 messages
2013-06-19 20:15:25ethan.furmancreate