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 christian.heimes
Recipients Arfrever, christian.heimes, cvrebert, eric.araujo, ezio.melotti, jcea, mark.dickinson, pitrou, ralhei, rhettinger, serhiy.storchaka, skrah
Date 2014-07-26.09:13:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406365985.64.0.139106181773.issue16535@psf.upfronthosting.co.za>
In-reply-to
Content
I'm EuroPython 2014 in Berlin. Ralph has approached me and asked me about progress on the progress of this patch. I'm reluctant to implement a special case for decimals for two reasons:

1) JSON just support floats and decimals are IMHO incompatible with floats. The conversion of decial to JSON floats is a loosely operation.

2) Rather than having a special case I would rather go with a general implementation that uses an ABC to JSON dump some float-like objects.
History
Date User Action Args
2014-07-26 09:13:05christian.heimessetrecipients: + christian.heimes, rhettinger, jcea, mark.dickinson, pitrou, ezio.melotti, eric.araujo, Arfrever, cvrebert, skrah, serhiy.storchaka, ralhei
2014-07-26 09:13:05christian.heimessetmessageid: <1406365985.64.0.139106181773.issue16535@psf.upfronthosting.co.za>
2014-07-26 09:13:05christian.heimeslinkissue16535 messages
2014-07-26 09:13:05christian.heimescreate