d9pouces added the comment:
I just signed this agreement. Thanks for accepting this patch!
--
___
Python tracker
<http://bugs.python.org/issue14455>
___
___
Pytho
d9pouces added the comment:
The plutil (Apple's command-line tool to convert plist files from a format to
another) returns an error if you try to convert a XML plist with dates to JSON.
--
___
Python tracker
<http://bugs.python.org/is
d9pouces added the comment:
Here is the new patch, allowing read and write binary, json and xml plist files.
It includes both the plistlib.py and test/test_plistlib.py 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
d9pouces added the comment:
I'm working on a class, BinaryPlistParser, which allow to both read and write
binary files.
I've also added a parameter fmt to writePlist and readPlist, to specify the
format ('json', 'xml1' or 'binary1', using XML by defa
d9pouces added the comment:
storchaka > I'm trying to take care of your remarks.
So, I'm working on a more object-oriented code, with both write and read
functions. I just need to write some test cases.
IMHO, we should add a new parameter to the writePlist function, to allow th
d9pouces added the comment:
Here is the new patch. I assumed that you meant to use diff -c instead of the
raw diff command.
--
keywords: +patch
Added file: http://bugs.python.org/file25076/context.diff
___
Python tracker
<http://bugs.python.
New submission from d9pouces :
Hi,
Plist files have actually three flavors : XML ones, binary ones, and now
(starting from Mac OS X 10.7 Lion) json one. The plistlib.readPlist function
can only read XML plist files and thus cannot read binary and json ones.
The binary format is open and