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 gdr
Recipients gdr, rhettinger
Date 2011-01-31.20:53:52
SpamBayes Score 1.5944711e-06
Marked as misclassified No
Message-id <1296507233.29.0.429772541007.issue11084@psf.upfronthosting.co.za>
In-reply-to
Content
I didn't mean to implicitly convert Decimal to float. My point was that xmlrpclib should serialize Decimals natively to avoid loss of precision when converting to float and then to string.

Whether other party will be able to represent this number exactly or not should not be our issue. 

To make it more clear, this is what Python currently does:
http://gdr.pastebin.pl/35766
this is what I propose it shoud do:
http://gdr.pastebin.pl/35765
History
Date User Action Args
2011-01-31 20:53:53gdrsetrecipients: + gdr, rhettinger
2011-01-31 20:53:53gdrsetmessageid: <1296507233.29.0.429772541007.issue11084@psf.upfronthosting.co.za>
2011-01-31 20:53:52gdrlinkissue11084 messages
2011-01-31 20:53:52gdrcreate