New submission from Raymond Piller:
A plist with:
<key>My key</key>
<string>False</string>
will parse to a dict as:
{'My key': False}
Expected:
{'My key': 'False'}
If bool(False) is needed, the plist should say:
<key>My key</key>
<false/>
----------
messages: 196959
nosy: VertigoRay
priority: normal
severity: normal
status: open
title: plistlib - str converted to bool
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18926>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com