summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-14 21:00:50 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-14 21:00:50 +0200
commit3a1db0b45daaf5cf7d3587170f9571691cd82bf5 (patch)
tree8d9b9aa9a7af768e29b1398acaa4aca34fc36f8a /README.rst
parentecd5f8dbaf580fa618205845374256a301d0675f (diff)
downloadruamel.yaml-3a1db0b45daaf5cf7d3587170f9571691cd82bf5.tar.gz
fix issue #165 Python2 raising error when Unicode text involved in duplicate key warning.0.15.55
I could only reproduce this in Python2, finally fixed it. *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 'README.rst')
-rw-r--r--README.rst20
1 files changed, 18 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 9182e43..7668f3b 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.54
-:updated: 2018-08-13
+:version: 0.15.55
+:updated: 2018-08-14
:documentation: http://yaml.readthedocs.io
:repository: https://bitbucket.org/ruamel/
:pypi: https://pypi.org/project/ruamel.yaml/
@@ -54,6 +54,22 @@ ChangeLog
.. should insert NEXT: at the beginning of line for next key (with empty line)
+0.15.55 (2018-08-14):
+
+ - unmade ``CommentedSeq`` a subclass of ``list``. It is now
+ indirectly a subclass of the standard
+ ``collections.abc.MutableSequence`` (without .abc if you are
+ still on Python2.7). If you do ``isinstance(yaml.load('[1, 2]'),
+ list)``) anywhere in your code replace ``list`` with
+ ``MutableSequence``. Directly, ``CommentedSeq`` is a subclass of
+ the abstract baseclass ``ruamel.yaml.compat.MutableScliceableSequence``,
+ with the result that *(extended) slicing is supported on
+ ``CommentedSeq``*.
+ (reported by `Stuart Berg <https://bitbucket.org/stuarteberg/>`__)
+ - duplicate keys (or their values) with non-ascii now correctly
+ report in Python2, instead of raising a Unicode error.
+ (Reported by `Jonathan Pyle <https://bitbucket.org/jonathan_pyle/>`__)
+
0.15.54 (2018-08-13):
- fix issue where a comment could pop-up twice in the output (reported by