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 mark.dickinson
Recipients anders.rundgren.net@gmail.com, eric.smith, ezio.melotti, mark.dickinson, pitrou, rhettinger
Date 2016-01-29.20:37:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454099873.91.0.902382927066.issue26229@psf.upfronthosting.co.za>
In-reply-to
Content
Here's the relevant part of the JCS document, from Appendix A of https://cyberphone.github.io/openkeystore/resources/docs/jcs.html#ECMAScript_Compatibility_Mode:

"""
Numbers *must* be expressed as specified by EMCAScript [ES6] using the improved serialization algorithm featured in Google's V8 JavaScript engine [V8]. That is, in the ECMAScript compatibility mode there are no requirements saving the textual value of numbers. This also means that the JCS Sample Signature in incompatible with the ECMAScript mode since it uses unnormalized numbers.
"""

I think exactly matching Google's implementation is an unreasonable requirement, and I don't see any evidence that JCS usage is widespread enough to warrant making changes to the JSON float output format.
History
Date User Action Args
2016-01-29 20:37:53mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, pitrou, eric.smith, ezio.melotti, anders.rundgren.net@gmail.com
2016-01-29 20:37:53mark.dickinsonsetmessageid: <1454099873.91.0.902382927066.issue26229@psf.upfronthosting.co.za>
2016-01-29 20:37:53mark.dickinsonlinkissue26229 messages
2016-01-29 20:37:53mark.dickinsoncreate