Shane G added the comment:
This issue was created because I ran across a plist like this when parsing
entitlements in an IPA. I assume that this happened by some unusual step in
the toolchain when building the application.
To some other points:
* agreed lstrip()ing just the key would not work (unfortunately I suggested
this before actually coding up a workaround for my case).
* agreed that binary plists should not have any stripping.
* I have not tried testing apple tools (e.g. plutil) against XML plists with
BOMs before any leading whitespace.
--
___
Python tracker
<https://bugs.python.org/issue37344>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com