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 ronaldoussoren
Recipients d9pouces, eric.araujo, jrjsmrtn, markgrandi, ned.deily, python-dev, r.david.murray, ronaldoussoren, serhiy.storchaka
Date 2014-01-15.13:21:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389792061.85.0.772622569527.issue14455@psf.upfronthosting.co.za>
In-reply-to
Content
However, I have no idea how to write that file using Apple's APIs. 

I'd prefer to either be compatible with Apple's API (current behavior), or just outright reject values that cannot be represented as a 64-bit signed integer.  

The file you generated happens to work, but as there is no way to create such as file using a public API there is little reason to expect that this will keep functioning in the future.  

The CFBinaryPlist code appears to be shared between support for binary plists and keyed archiving (more or less Cocoa's equivalent for pickle) and supports other values that cannot be put in plist files, such as sets.  The original patch supported sets in the binary plist reader and writer, I ripped that out because such objects cannot be serialised using Apple's plist APIs.

Keep in mind that this module is intended for interop with Apple's data format.
History
Date User Action Args
2014-01-15 13:21:01ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, eric.araujo, r.david.murray, jrjsmrtn, python-dev, serhiy.storchaka, d9pouces, markgrandi
2014-01-15 13:21:01ronaldoussorensetmessageid: <1389792061.85.0.772622569527.issue14455@psf.upfronthosting.co.za>
2014-01-15 13:21:01ronaldoussorenlinkissue14455 messages
2014-01-15 13:21:01ronaldoussorencreate