]> granicus.if.org Git - python/commit
bpo-26707: Enable plistlib to read UID keys. (GH-12153)
authorJon Janzen <jjjonjanzen@gmail.com>
Wed, 15 May 2019 20:14:38 +0000 (22:14 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 15 May 2019 20:14:38 +0000 (23:14 +0300)
commitc981ad16b0f9740bd3381c96b4227a1faa1a88d9
tree11ae5ac3f709d5ddd54a27334207441f7debe025
parente307e5cd06f60e11e4e4f126fae412b9ec66a005
bpo-26707: Enable plistlib to read UID keys. (GH-12153)

Plistlib currently throws an exception when asked to decode a valid
.plist file that was generated by Apple's NSKeyedArchiver. Specifically,
this is caused by a byte 0x80 (signifying a UID) not being understood.

This fixes the problem by enabling the binary plist reader and writer
to read and write plistlib.UID objects.
Doc/library/plistlib.rst
Doc/whatsnew/3.8.rst
Lib/plistlib.py
Lib/test/test_plistlib.py
Mac/Tools/plistlib_generate_testdata.py
Misc/ACKS
Misc/NEWS.d/next/Library/2019-03-04-01-28-33.bpo-26707.QY4kRZ.rst [new file with mode: 0644]