]> granicus.if.org Git - python/commit
bpo-32072: Fix issues with binary plists. (GH-4455) (#4654)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 30 Nov 2017 22:15:30 +0000 (14:15 -0800)
committerSerhiy Storchaka <storchaka@gmail.com>
Thu, 30 Nov 2017 22:15:30 +0000 (00:15 +0200)
commit8cd31082fba88cf0064590fd3d55b6c1c964f11c
tree46aa76461e5ef9c7a027022eb3dccdd9f0d72c85
parentc91bf742e542dceaf71042a44b5a04fb08bdda70
bpo-32072: Fix issues with binary plists. (GH-4455) (#4654)

* Fixed saving bytearrays.
* Identical objects will be saved only once.
* Equal references will be load as identical objects.
* Added support for saving and loading recursive data structures.
(cherry picked from commit a897aeeef647259a938a36cb5eb6680c86021c6a)
Lib/plistlib.py
Lib/test/test_plistlib.py
Misc/NEWS.d/next/Library/2017-11-18-21-13-52.bpo-32072.nwDV8L.rst [new file with mode: 0644]