diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-09-21 20:39:48 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-09-21 20:39:48 +0200 |
commit | 76b0f89d8fcbf88616f62c01551731cc043f86a3 (patch) | |
tree | 249e6d08fa6f8be2d18cba96640244fb47a69a4e /CHANGES | |
parent | 7303884f29383c9c0f71547a6e3d41997aac5cb1 (diff) | |
download | ruamel.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-- | CHANGES | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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/>`__) |