Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - out of date
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18168
___
Ronald Oussoren added the comment:
I'm reworking the patch in #14455 and one of the things I intend to do is to
add a keyword argument that controls whether or not the keys in dictionaries
will be sorted by plistlib.
--
___
Python tracker
halfjuice added the comment:
Awesome. Thanks Ronald!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18168
___
___
Python-bugs-list mailing list
halfjuice added the comment:
Thanks for giving out docs and start a detail discussion on this Mher!
Sorry I'm not familiar with Apple plist tool (I'm using cocos2d-x on win32 for
the moment...) Are you saying that plutil is used everytime we output a valid
plist?
Another thing is whether the
Mher Movsisyan added the comment:
I think this is not a bug. plistlib api accepts dict (not OrderedDict) and
sorted output is a valid output. plistlib sorts dictionaries to be consistent
with Apple's tools.
property list format [1] uses CFDictionary [2] with CFString keys. CFDictionary
is
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +hynek, ned.deily, ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18168
___
New submission from halfjuice:
Even with OrderedDict, the plistlib will still output the dict in its own
order. Search for sorted(d.items()) in plistlib.py and you will know why. It is
certainly warm-hearted to sort this before putting it into plist file but I
think sometimes we just want a