From bdc07310846d253ddeac78f370db03df5d6e31b0 Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Tue, 8 Jan 2019 09:03:34 +0100 Subject: resolves issue #274 replace dict with collections.OrderedDict when loading https://bitbucket.org/ruamel/yaml/issues/274/add-a-typ-ordered-for-a-middle-ground#comment-49783394 *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))* --- README.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index f42a5bd..7f929bb 100644 --- a/README.rst +++ b/README.rst @@ -4,8 +4,8 @@ ruamel.yaml ``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python. -:version: 0.15.84 -:updated: 2019-01-07 +:version: 0.15.85 +:updated: 2019-01-08 :documentation: http://yaml.readthedocs.io :repository: https://bitbucket.org/ruamel/ :pypi: https://pypi.org/project/ruamel.yaml/ @@ -54,6 +54,14 @@ ChangeLog .. should insert NEXT: at the beginning of line for next key (with empty line) +0.15.85 (2019-01-08): + - the types used by `SafeConstructor` for mappings and sequences can + now by set by assigning to `XXXConstructor.yaml_base_dict_type` + (and `..._list_type`), preventing the need to copy two methods + with 50+ lines that had `var = {}` hardcoded. (Implemented to + help solve an feature request by `Anthony Sottile + `__ in an easier way) + 0.15.84 (2019-01-07): - fix for `CommentedMap.copy()` not returning `CommentedMap`, let alone copying comments etc. (reported by `Anthony Sottile `__) -- cgit v1.2.1