Mitchell Model <m...@acm.org> added the comment:

I can see where that does make it tricky. (I also tried reading the plist after 
opening the file as binary, but no luck.) The problem here, of course, is that 
the only reason for the existence of this library is to read Apple's plist 
files, however XML-invalid some may be. (It is only a small number of my very 
many .plist files that have invalid characters -- I just happened to pick one 
of them to try to access in order to print a simple summary of its contents.) I 
guess since the plist is read using xml.parsers.expat, there's not much that 
can be done, and it wouldn't be worth anyone's time to hack around this for 
plistlib, especially since nearly all .plist files appear to be conforming. 
Thanks for the clarification.

----------

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

Reply via email to