Use bigdecimal to dump Decimal in XML-RPC
Since Python 3.6, xmlrpc.client
can load bigdecimal
as Decimal
: https://hg.python.org/cpython/rev/ef63e1c999bd.
So it is better to use a standardized format than our custom (but we should keep loading the custom format for backward compatibility).