]> granicus.if.org Git - python/commit
Issue #14455: fix handling of unsigned long long values for binary plist files
authorRonald Oussoren <ronaldoussoren@mac.com>
Thu, 6 Feb 2014 10:19:18 +0000 (11:19 +0100)
committerRonald Oussoren <ronaldoussoren@mac.com>
Thu, 6 Feb 2014 10:19:18 +0000 (11:19 +0100)
commit94e44a935b3dc1e67a6a3357f64324ee0c81d40c
tree7c8a8cb61491ec46dbe5e2042aa7fcaee4785fab
parent3dcb0cf9b195afc9d3a5c79f8b0a6cd755bc7bd0
Issue #14455: fix handling of unsigned long long values for binary plist files

Values in the range of an unsigned long long, but outside of the range
of a signed long long were serialized as a negative value.

Due to a bug in PyObjC my test scripts indicated that the previous behavior
matched Apple's plist code, instead the handle large unsigned values correctly.

The change to plistlib.py is from a patch by Serhiy.
Doc/library/plistlib.rst
Lib/plistlib.py
Lib/test/test_plistlib.py
Mac/Tools/plistlib_generate_testdata.py
Misc/NEWS