This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author VertigoRay
Recipients VertigoRay
Date 2013-09-04.22:00:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378332057.23.0.689820158469.issue18926@psf.upfronthosting.co.za>
In-reply-to
Content
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
'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">\n<plist version="1.0">\n<dict>\n\t<key>My key</key>\n\t<string>False</string>\n</dict>\n</plist>\n'
>>> plistlib.readPlistFromString(plist)
{'My key': 'False'}
>>> pl = {'My key': False}
>>> plist = plistlib.writePlistToString(pl)
>>> plist
'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">\n<plist version="1.0">\n<dict>\n\t<key>My key</key>\n\t<false/>\n</dict>\n</plist>\n'
>>> plistlib.readPlistFromString(plist)
{'My key': False}
History
Date User Action Args
2013-09-04 22:00:57VertigoRaysetrecipients: + VertigoRay
2013-09-04 22:00:57VertigoRaysetmessageid: <1378332057.23.0.689820158469.issue18926@psf.upfronthosting.co.za>
2013-09-04 22:00:57VertigoRaylinkissue18926 messages
2013-09-04 22:00:56VertigoRaycreate