[issue17353] Plistlib outputs empty data tags when deeply nested
Ronald Oussoren
report at bugs.python.org
Mon Apr 15 14:45:19 CEST 2013
Ronald Oussoren added the comment:
I agree that plistlib shouldn't raise an exception for data that can represented as a valid plist file.
I've checked that the Cocoa class for generating plist files will happily create a plist file when the data is nested 100 levels deep. In that case NSData values generate lines of 12 characters long.
An unrelated issue: PlistWriter.writeValue should treat bytes instances the same as Data instances in Python 3. That would be a (small) feature enhencement, and hence can only be done for Python 3.4.
----------
Added file: http://bugs.python.org/file29862/deeply-nested-plist.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17353>
_______________________________________
More information about the Python-bugs-list
mailing list