]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.4] bpo-32072: Fix issues with binary plists. (GH-4455) (#4658)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 22 Jan 2018 10:18:00 +0000 (12:18 +0200)
committerlarryhastings <larry@hastings.org>
Mon, 22 Jan 2018 10:18:00 +0000 (02:18 -0800)
commitc59731d92dc73111d224876f1caa064097aad786
treeb52194f80913d41076b46399b11f063d10c251a2
parent092db6c3cb049052fbfca15efc85ad68093676e7
[3.4] bpo-32072: Fix issues with binary plists. (GH-4455) (#4658)

* [3.4] bpo-32072: Fix issues with binary plists. (GH-4455)

* 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)

* Fix implementation dependent assertion in test_plistlib. (#4813)

It is failed with an advanced optimizer.
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]