[issue37344] plistlib doesn't skip whitespace in XML format detection

2019-07-14 Thread Shane G
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

[issue37344] plistlib doesn't skip whitespace in XML format detection

2019-06-19 Thread Shane G
New submission from Shane G : plistlib in Python 3.7.3 (and earlier) does not autodetect plist data as XML if it contains whitespace before the "https://github.com/python/cpython/blob/3.7/Lib/plistlib.py#L493 -- messages: 346089 nosy: shaneg priority: normal severity: normal s