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.20:54:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460062450.68.0.336143566645.issue26707@psf.upfronthosting.co.za>
In-reply-to
Content
Based on the format specification pointed to by Serhiy, perhaps this a better patch, correcting size from previous patch submission and treating:

706,707c706,708
<         # tokenH == 0x80 is documented as 'UID' and appears to be used for
<         # keyed-archiving, not in plists.
---
>         elif tokenH == 0x80:  # UID
>             s = self._get_size(tokenL + 1)
>             return int.from_bytes(self._fp.read(s), 'big')

I have compared output with OS X plutil and plistlib.load() with this patch and the values are identical for UID fields.
History
Date User Action Args
2016-04-07 20:54:10slo.sleuthsetrecipients: + slo.sleuth, ronaldoussoren, SilentGhost, serhiy.storchaka
2016-04-07 20:54:10slo.sleuthsetmessageid: <1460062450.68.0.336143566645.issue26707@psf.upfronthosting.co.za>
2016-04-07 20:54:10slo.sleuthlinkissue26707 messages
2016-04-07 20:54:10slo.sleuthcreate