New submission from Raymond Piller:
A plist with:
My key
False
will parse to a dict as:
{'My key': False}
Expected:
{'My key': 'False'}
If bool(False) is needed, the plist should say:
My key
--
messages: 196959
nosy: VertigoRay
priority: normal
severity: normal
status: open
title: pl
Ray added the comment:
Disregard, I think. I'm not sure why, but my current app seems to be doing the
converting.
>>> import plistlib
>>> pl = {'My key': 'False'}
>>> plist = plistlib.writePlistToString(pl)
>>> plist
'\nhttp://www.apple.com/DTDs/PropertyList-1.0.dtd";>\n\n\n\tMy
key\n\tFalse\