Ronald Oussoren
7b0baf0d87
Ensure that plistlib doesn't corrupt deeply nested datastructures
...
Without this changeset plistlib would write empty tags for plistlib.Data
objects in deeply nested datastructures.
Fixes #17353
2013-04-23 13:47:06 +02:00
Ronald Oussoren
78118992ad
Sync test_plistlib.py with plistlib.py
2010-04-21 06:00:35 +00:00
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Just van Rossum
2dae7646c3
On second thought: "Errors should never pass silently", so barf when a
...
string contains control chars that are illegal for XML
2004-11-12 09:36:12 +00:00
Just van Rossum
48ecaccf9e
testing control chars and non-dict root objects
2004-11-12 08:34:32 +00:00
Just van Rossum
fc93e17598
- Added tests for the string load/dump function.
...
- Added a chunk of plist data as generated by Cocoa's NSDictionary and
verify we output the same (including formatting)
- Changed the "literal" plist code to match the raw test data
2004-10-26 11:02:08 +00:00
Just van Rossum
16c3e08931
use new readPlist() and writePlist() functions
2004-10-02 14:06:18 +00:00
Just van Rossum
bcc58e87e8
- added (c)StringIO tests; cStringIO usage failed in the previous
...
version of plistlib.py (r1.2)
2003-07-01 20:22:30 +00:00
Tim Peters
669454e9dc
Whitespace normalization.
2003-03-07 17:30:48 +00:00
Jack Jansen
838e76af2c
Test suite for the plistlib module.
2003-02-25 12:58:58 +00:00