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

Ronald Oussoren report at bugs.python.org
Sun Jul 14 09:19:46 EDT 2019


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I don't agree with calling lstrip() before checking which format is used because leading whitespace is invalid for binary plist files (and plutil agrees with me on that).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37344>
_______________________________________


More information about the Python-bugs-list mailing list