[issue37344] plistlib doesn't skip whitespace in XML format detection
Ronald Oussoren
report at bugs.python.org
Sun Jul 14 12:13:50 EDT 2019
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
You can always strip the file yourself :-)
Ignoring leading whitespace for XML would be fairly invasive due to the way the code is set up. I'm not set against it, but I'm not in favour of complicating the implementation for an edge case like this.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37344>
_______________________________________
More information about the Python-bugs-list
mailing list