summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/plistlib_generate_testdata.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-26707: Enable plistlib to read UID keys. (GH-12153)Jon Janzen2019-05-151-0/+3
| | | | | | | | | Plistlib currently throws an exception when asked to decode a valid .plist file that was generated by Apple's NSKeyedArchiver. Specifically, this is caused by a byte 0x80 (signifying a UID) not being understood. This fixes the problem by enabling the binary plist reader and writer to read and write plistlib.UID objects.
* Issue #14455: fix handling of unsigned long long values for binary plist filesRonald Oussoren2014-02-061-1/+2
| | | | | | | | | | 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.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
* Issue #14455: Fix some issues with plistlibRonald Oussoren2014-01-151-0/+8
| | | | | | | | | | * Negative integer support in binary plists was broken * Better exception for invalid data * Fix the versionadded/versionchanged markup in the documentation * Add the interface cleanup to what's new for 3.4
* Issue #14455: plistlib now supports binary plists and has an updated API.Ronald Oussoren2013-11-211-0/+94
This patch adds support for binary plists on OSX to plistlib (based on a patch by 'dpounces'). The patch also cleans up the API for the plistlib module.