[issue17353] Plistlib outputs empty data tags when deeply nested
Mike Milkin
report at bugs.python.org
Sun Apr 14 20:57:31 CEST 2013
Mike Milkin added the comment:
Yep you are correct.
>>>
plistlib.readPlistFromBytes(plistlib.writePlistToBytes([[[[[[[[{'test': plistlib.Data(b'aaaaaa')}]]]]]]]]))
[[[[[[[[{'test': Data(b'aaaaaa')}]]]]]]]]
>>> plistlib.readPlistFromBytes(plistlib.writePlistToBytes([[[[[[[[[{'test': plistlib.Data(b'aaaaaa')}]]]]]]]]]))
[[[[[[[[[{'test': Data(b'')}]]]]]]]]]
I presume we want to raise a ValueError if the indentation is more than the maximal line length.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17353>
_______________________________________
More information about the Python-bugs-list
mailing list