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.

Author slo.sleuth
Recipients SilentGhost, ronaldoussoren, serhiy.storchaka, slo.sleuth
Date 2016-04-07.18:15:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <EFA998E8-C58C-4640-8D9F-98DAE76A8347@gmail.com>
In-reply-to <1460018791.03.0.741685663284.issue26707@psf.upfronthosting.co.za>
Content
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>
> _______________________________________
History
Date User Action Args
2016-04-07 18:15:55slo.sleuthsetrecipients: + slo.sleuth, ronaldoussoren, SilentGhost, serhiy.storchaka
2016-04-07 18:15:55slo.sleuthlinkissue26707 messages
2016-04-07 18:15:55slo.sleuthcreate