diff options
author | Jon Janzen <jjjonjanzen@gmail.com> | 2019-05-15 20:14:38 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2019-05-15 20:14:38 (GMT) |
commit | c981ad16b0f9740bd3381c96b4227a1faa1a88d9 (patch) | |
tree | 11ae5ac3f709d5ddd54a27334207441f7debe025 /Misc | |
parent | e307e5cd06f60e11e4e4f126fae412b9ec66a005 (diff) | |
download | cpython-c981ad16b0f9740bd3381c96b4227a1faa1a88d9.zip cpython-c981ad16b0f9740bd3381c96b4227a1faa1a88d9.tar.gz cpython-c981ad16b0f9740bd3381c96b4227a1faa1a88d9.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-03-04-01-28-33.bpo-26707.QY4kRZ.rst | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -754,6 +754,7 @@ Geert Jansen Jack Jansen Hans-Peter Jansen Bill Janssen +Jon Janzen Thomas Jarosch Juhana Jauhiainen Rajagopalasarma Jayakrishnan diff --git a/Misc/NEWS.d/next/Library/2019-03-04-01-28-33.bpo-26707.QY4kRZ.rst b/Misc/NEWS.d/next/Library/2019-03-04-01-28-33.bpo-26707.QY4kRZ.rst new file mode 100644 index 0000000..ab76540 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-03-04-01-28-33.bpo-26707.QY4kRZ.rst @@ -0,0 +1 @@ +Enable plistlib to read and write binary plist files that were created as a KeyedArchive file. Specifically, this allows the plistlib to process 0x80 tokens as UID objects.
\ No newline at end of file |