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 serhiy.storchaka
Recipients d9pouces, eric.araujo, jrjsmrtn, markgrandi, ned.deily, python-dev, r.david.murray, ronaldoussoren, serhiy.storchaka
Date 2014-01-15.13:08:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I see that plistlib incorrectly writes large ints from 2**63 to 2**64-1 as negative values.

>>> d = plistlib.dumps({'a': 18446744073709551615}, fmt=plistlib.FMT_BINARY)
>>> plistlib.loads(d)
{'a': -1}

My patch did this correct (as 128-bit integer), and as you can see the produced file is accepted by Apple's plutil.
Date User Action Args
2014-01-15 13:08:18serhiy.storchakasetrecipients: + serhiy.storchaka, ronaldoussoren, ned.deily, eric.araujo, r.david.murray, jrjsmrtn, python-dev, d9pouces, markgrandi
2014-01-15 13:08:18serhiy.storchakasetmessageid: <>
2014-01-15 13:08:18serhiy.storchakalinkissue14455 messages
2014-01-15 13:08:18serhiy.storchakacreate