This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: plistlib should export UIDs in XML like Apple does
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Artoria2e5, bigfootjon, ned.deily, ronaldoussoren, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2020-02-23 14:23 by Artoria2e5, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 18622 open Artoria2e5, 2020-02-23 14:34
Messages (1)
msg362513 - (view) Author: Mingye Wang (Artoria2e5) * Date: 2020-02-23 14:23
Although there is no native UID type in Apple's XML format, Apple's NSKeyedArchiver still works with it because it converts the UID to a dict of {"CF$UID": int(some_uint64_val)}. Plistlib should do the same.

For a sample, see https://github.com/apple/swift-corelibs-foundation/blob/2a5bc4d8a0b073532e60410682f5eb8f00144870/Tests/Foundation/Resources/NSKeyedUnarchiver-ArrayTest.plist.
History
Date User Action Args
2022-04-11 14:59:27adminsetgithub: 83913
2020-11-27 20:19:52bigfootjonsetnosy: + bigfootjon
2020-02-23 22:22:29serhiy.storchakasetnosy: + ronaldoussoren, ned.deily
2020-02-23 19:43:45SilentGhostsetnosy: + serhiy.storchaka

type: behavior -> enhancement
versions: - Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8
2020-02-23 14:34:52Artoria2e5setkeywords: + patch
stage: patch review
pull_requests: + pull_request17987
2020-02-23 14:23:39Artoria2e5create