I’m glad you found it in the Apple specification. I looked, but missed it. I would absolutely defer to you on your assessment of the decoding.
> On Apr 7, 2016, at 1:46 AM, Serhiy Storchaka <report@bugs.python.org> wrote:
>
>
> Serhiy Storchaka added the comment:
>
> UID is rather int than bytes. And I would use a special UID type.
>
> According to Apple's sources [1], the size of UID data is tokenL+1, not self._get_size(tokenL).
>
> [1] http://www.opensource.apple.com/source/CF/CF-1153.18/CFBinaryPList.c
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue26707>
> _______________________________________ |