[New-bugs-announce] [issue17353] Plistlib outputs empty data tags when deeply nested
Jacques Fortier
report at bugs.python.org
Mon Mar 4 21:33:35 CET 2013
New submission from Jacques Fortier:
To reproduce:
import plistlib
print plistlib.writePlistToString([[[[[[[[[{'test': plistlib.Data('aaaaaa')}]]]]]]]]])
Compare to:
print plistlib.writePlistToString([[[[[[[[{'test': Data('aaaaaa')}]]]]]]]])
It looks like the max line length calculation in the Data class is causing the output to be empty once you get nested far enough.
----------
components: Library (Lib)
messages: 183496
nosy: jfortier
priority: normal
severity: normal
status: open
title: Plistlib outputs empty data tags when deeply nested
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17353>
_______________________________________
More information about the New-bugs-announce
mailing list