summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-09-21 20:39:48 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-09-21 20:39:48 +0200
commit76b0f89d8fcbf88616f62c01551731cc043f86a3 (patch)
tree249e6d08fa6f8be2d18cba96640244fb47a69a4e /CHANGES
parent7303884f29383c9c0f71547a6e3d41997aac5cb1 (diff)
downloadruamel.yaml-76b0f89d8fcbf88616f62c01551731cc043f86a3.tar.gz
fix #233 fix #231 reverting to subclass dict resp list for CommentedMap/Seq0.15.70
had to reimplement round-trippable mappings with merge-keys to get both JSON dumping and casting using dict(**some_commented_map) to work. (JSON dump of merge maps not tested) *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES8
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 6b8208e..2b64da8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,11 @@
+[0, 15, 70]: 2018-09-21
+ - reverted CommentedMap and CommentedSeq to subclass ordereddict resp. list,
+ reimplemented merge maps so that both ``dict(**commented_map_instance)`` and JSON
+ dumping works. This also allows checking with ``isinstance()`` on ``dict`` resp. ``list``.
+ (Proposed by `Stuart Berg <https://bitbucket.org/stuarteberg/>`__, with feedback
+ from `blhsing <https://stackoverflow.com/users/6890912/blhsing>`__ on
+ `StackOverflow <https://stackoverflow.com/q/52314186/1307905>`__)
+
[0, 15, 69]: 2018-09-20
- fix issue with dump_all gobbling end-of-document comments on parsing
(reported by `Pierre B. <https://bitbucket.org/octplane/>`__)