Bob Ippolito added the comment:

Subclass Decimal and implement __str__ to return your own representation. Use 
parse_float to use your Decimal subclass. Should work with simplejson, a 
similar hack may be possible with the json module.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23123>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to