[issue38777] plist handling of real data type
Ronald Oussoren
report at bugs.python.org
Tue Nov 12 10:05:56 EST 2019
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
I don't think this is a bug. The value's in the plutil output are correct, and marked up with the correct type in both cases.
The difference between 0.1 and 0.10000000000000001 is the usual problem with floating point representation (see the python.org FAQ). Plutil uses a different algorithm for printing float's than Python, but both evaluate to the same binary representation for the float value.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38777>
_______________________________________
More information about the Python-bugs-list
mailing list