[issue26229] Make number serialization ES6/V8 compatible

Mark Dickinson report at bugs.python.org
Tue Feb 2 03:16:21 EST 2016


Mark Dickinson added the comment:

> An easier fix than mucking around in the pretty complex number serializer
> code would be adding an "ES6Format" option to the "json.dump*" methods
> which could use the supplied conversion code as is.

Certainly if this were added we'd want to do it in a backwards compatible way; adding (yet) another flag to the json.dump* methods is one possibility.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26229>
_______________________________________


More information about the Python-bugs-list mailing list