Christian Heimes added the comment:

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.

----------

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

Reply via email to