]> granicus.if.org Git - python/commit
[3.5] bpo-32072: Fix issues with binary plists. (GH-4455) (#4656)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 23 Jan 2018 11:21:21 +0000 (13:21 +0200)
committerlarryhastings <larry@hastings.org>
Tue, 23 Jan 2018 11:21:21 +0000 (03:21 -0800)
commit43f014d3f12468edf61046f0612edc7660042fd5
tree7f29fd3d15dddd271bd817f3fc9482640269bba3
parent891c91d8d38848377a9f475242507510873eb9c3
[3.5] bpo-32072: Fix issues with binary plists. (GH-4455) (#4656)

* [3.5] 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 a897aee)

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