David Nicolson <david.nicol...@gmail.com> added the comment:

It looks like it's just inconsistency in plutil that is causing the confusion.

/usr/libexec/PlistBuddy -c Print test.plist
Dict {
    FloatExample2 = 0.100000
    FloatExample3 = 100.000000
    FloatExample = 0.000000
}

cat test.plist | plutil -convert xml1 -o - -- -
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>FloatExample</key>
        <real>0.0</real>
        <key>FloatExample2</key>
        <real>0.10000000000000001</real>
        <key>FloatExample3</key>
        <real>100</real>
</dict>
</plist>

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to