[issue40381] plistlib doesn't handle poorly-formatted plists

2020-04-24 Thread Clay Caviness
New submission from Clay Caviness : Some Info.plist files are poorly formatted. I am using plistlib to read Info.plist file from various .app bundles. On some, plistlib.load raises a ValueError when trying to parse. Examining one of these Info.plist files, it turns out *it* is poorly

[issue40381] plistlib doesn't handle poorly-formatted plists

2020-04-24 Thread Clay Caviness
Clay Caviness added the comment: I expect the answer here to be "plistlib is correct, that's a poorly formatted plist", but since plistlib is "for reading and writing the “property list” files used mainly by Mac OS X and supports both binary and XML plist files",