[issue27934] json float encoding incorrect for dbus.Double
Eddie James
report at bugs.python.org
Fri Sep 2 10:01:47 EDT 2016
Eddie James added the comment:
Understood on 2.7, I wasn't aware it would cause any issues.
Dbus.Double is not a subclass of float unfortunately. Problem is that all Dbus types seem to have a custom tp_repr method that returns that strange formatting I mentioned. So repr won't be the same as str, in any version of python.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27934>
_______________________________________
More information about the Python-bugs-list
mailing list