Message 60358 - Python tracker (original) (raw)

If you pass a garbage file to plistlib you can get all sorts of unexpected exceptions, for instance from the XML parser. This makes it hard to catch these errors, it would be better if plistlib caught the errors and raised a new one.