Serhiy Storchaka <storch...@gmail.com> added the comment: This patch is for Python 2. New features are accepted only for Python 3.3+. I ported the patch, but since I have no Mac, I can't check.
To date code was specified incorrectly. The length of integers was calculated incorrectly. To convert integers, you can use int.from_bytes. Objects identity was not preserved. I'm not sure that the recognition of XML done enough. Should consider UTF-16 and UTF-32 with the BOM and without. Need tests. Also I'm a bit cleaned up and modernizing the code. I believe that it should be rewritten in a more object-oriented style. It is also worth to implement writer. ---------- nosy: +storchaka Added file: http://bugs.python.org/file25077/plistlib_ext.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14455> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com