New submission from Sidney San Martín <s...@sidneysm.com>: plistlib’s output is currently byte-for-byte identical to Apple’s, except arrays and dictionaries are stored with self-closing tags (e.g. '<array/>') and plistlib outputs empty tags with a newline (e.g. '<array>\n</array>').
This tiny patch makes its output for empty arrays and dictionaries consistent with the OS’s. ---------- assignee: ronaldoussoren components: Library (Lib), Macintosh files: plistlib_empty_objects.patch keywords: patch messages: 160934 nosy: ronaldoussoren, ssm priority: normal severity: normal status: open title: plistlib: output empty elements correctly type: behavior versions: Python 3.1, Python 3.2, Python 3.3, Python 3.4 Added file: http://bugs.python.org/file25620/plistlib_empty_objects.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14835> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com