This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author d9pouces
Recipients d9pouces, eric.araujo, jrjsmrtn, ned.deily, r.david.murray, ronaldoussoren, serhiy.storchaka
Date 2012-04-08.08:31:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is the new patch, allowing read and write binary, json and xml plist files.

It includes both the and test/ patches.
JSON format does not allow dates and data, so XML is used by default to write files.
I use the json library to write JSON plist files, but its output is slightly different from the Apple default output: keys of dictionaries are in different order. Thus, I removed the test_appleformattingfromliteral test for JSON files.

Similarly, my binary writer does not write the same binary files as the Apple library: my library writes the content of compound objects (dicts, lists and sets) before the object itself, while Apple writes the object before its content. Copying the Apple behavior results in some additional weird lines of code, for little benefit. Thus, I also removed the  test_appleformattingfromliteral test for binary files.

Other tests are made for all the three formats.
Date User Action Args
2012-04-08 08:31:27d9poucessetrecipients: + d9pouces, ronaldoussoren, ned.deily, eric.araujo, r.david.murray, jrjsmrtn, serhiy.storchaka
2012-04-08 08:31:27d9poucessetmessageid: <>
2012-04-08 08:31:26d9pouceslinkissue14455 messages
2012-04-08 08:31:26d9poucescreate