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 shaneg
Recipients shaneg
Date 2019-06-19.23:18:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560986315.2.0.263815565154.issue37344@roundup.psfhosted.org>
In-reply-to
Content
plistlib in Python 3.7.3 (and earlier) does not autodetect plist data as XML if it contains whitespace before the "<?xml" tag.  Apple tools (and code) however, do.

Suggestion:  lstrip() the header bytes before comparison

Source Link: https://github.com/python/cpython/blob/3.7/Lib/plistlib.py#L493
History
Date User Action Args
2019-06-19 23:18:35shanegsetrecipients: + shaneg
2019-06-19 23:18:35shanegsetmessageid: <1560986315.2.0.263815565154.issue37344@roundup.psfhosted.org>
2019-06-19 23:18:35shaneglinkissue37344 messages
2019-06-19 23:18:35shanegcreate