summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/plistlib.py
Commit message (Collapse)AuthorAgeFilesLines
* On second thought: "Errors should never pass silently", so barf when aJust van Rossum2004-11-121-3/+6
| | | | string contains control chars that are illegal for XML
* - \f is not a valid XML characterJust van Rossum2004-11-121-3/+4
| | | | - reformatted regex pattern, use r"" consistently
* reordered a couple of thingsJust van Rossum2004-11-121-5/+6
|
* Made <data> output match Apple's exactly. To do that I had to add a customJust van Rossum2004-10-261-6/+21
| | | | | version of base64.encodestring() so I could control the line length of the base64 output.
* also escape '>', to closer match Apple's plist outputJust van Rossum2004-10-261-0/+1
|
* Deprecating Dict class; going through a few hoops to get the warnings right.Just van Rossum2004-10-261-20/+29
|
* - Removed Date class. We don't really need it for b/w compatibility sinceJust van Rossum2004-10-261-52/+25
| | | | | | a) the functionality depended on PyXML before and b) hardly worked to begin with. - Instead, output and require upon input datetime.datetime objects.
* - added two more convenience functions: readPlistFromString() andJust van Rossum2004-10-261-15/+30
| | | | | | writePlistToString() - use these two in the resource functions. - Tweaked module doc string.
* Updated doc strings.Just van Rossum2004-10-251-3/+2
|
* Deprecate Plist classJust van Rossum2004-10-251-2/+8
|
* Removed superfluous **kwargs constructor cruft: this class predatesJust van Rossum2004-10-251-8/+0
| | | | the dict(**kwargs) feature.
* Patch from Bob Ippolito, slighly edited:Just van Rossum2004-10-251-16/+77
| | | | [ 1052399 ] plistlib: add plst resource functionality, fix bugs
* removed 2.2 supportJust van Rossum2004-10-021-74/+3
|
* Which reminds me, I've had a much improved plistlib.py lying around forJust van Rossum2004-10-021-85/+113
| | | | | | ages. The main improvements are: - a much more convenient API: readPlist() and writePlist() - support non-dict top-level objects
* don't optimize empty stringsJust van Rossum2003-07-101-1/+1
|
* - replaced a couple of asserts with proper exceptionsJust van Rossum2003-07-011-4/+5
| | | | - use isinstance instead of flaky file-detection code
* Detabbed.Jack Jansen2003-04-091-324/+324
|
* Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used bothJack Jansen2002-12-301-0/+436
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).