Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

But they use the plist format for serialization (as plists theirself use the 
XML format).

https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/NSKeyedArchiver.swift

Direct support of keyed archives would be better to implement in third-party 
package. But we can provide the support for low-level operations.

For distinguishing UIDs from integers and for being able to create plist files 
containing UIDs we need a special purposed class plist.UID. It will be a 
simpler wrapper around int with few methods: __index__(), __repr__(), 
__reduce__().

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue26707>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to