Ezio Melotti <ezio.melo...@gmail.com> added the comment:

Note that this behavior is documented[0]:
"""
The XML data is parsed using the Expat parser from xml.parsers.expat – see its 
documentation for possible exceptions on ill-formed XML. Unknown elements will 
simply be ignored by the plist parser.
"""

Since this is documented and expat only has an exception type 
(xml.parsers.expat.ExpatError) I don't think is necessary to do anything here.
Unless you think that the doc should be rephrased, this can be closed again.

[0]: http://docs.python.org/library/plistlib.html#plistlib.readPlist

----------
assignee: jvr -> 
nosy: +ezio.melotti

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue775321>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to