summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst4
-rw-r--r--__init__.py2
-rw-r--r--compat.py5
-rw-r--r--main.py1
4 files changed, 8 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index e59e94a..1965ca6 100644
--- a/README.rst
+++ b/README.rst
@@ -18,6 +18,10 @@ ChangeLog
::
+ 0.12.2 (2016-08-16):
+ - minor improvements based on feedback from M. Crusoe
+ https://bitbucket.org/ruamel/yaml/issues/42/
+
0.12.0 (2016-08-16):
- drop support for Python 2.6
- include initial Type information (inspired by M. Crusoe)
diff --git a/__init__.py b/__init__.py
index 76accee..7bb5066 100644
--- a/__init__.py
+++ b/__init__.py
@@ -9,7 +9,7 @@ from __future__ import absolute_import
_package_data = dict(
full_package_name="ruamel.yaml",
- version_info=(0, 12, 1),
+ version_info=(0, 12, 2),
author="Anthon van der Neut",
author_email="a.van.der.neut@ruamel.eu",
description="ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order", # NOQA
diff --git a/compat.py b/compat.py
index e4b30ab..23cd968 100644
--- a/compat.py
+++ b/compat.py
@@ -64,7 +64,7 @@ if PY3:
binary_type = bytes
MAXSIZE = sys.maxsize
- unichr = chr # type: ignore
+ unichr = chr
import io
StringIO = io.StringIO
BytesIO = io.BytesIO
@@ -76,7 +76,8 @@ else:
text_type = unicode
binary_type = str
- unichr = unichr # type: ignore to allow importing
+ # to allow importing
+ unichr = unichr # type: ignore
from StringIO import StringIO as _StringIO
StringIO = _StringIO
import cStringIO
diff --git a/main.py b/main.py
index 8138ac4..646330f 100644
--- a/main.py
+++ b/main.py
@@ -373,7 +373,6 @@ class YAMLObjectMetaclass(type):
class YAMLObject(with_metaclass(YAMLObjectMetaclass)): # type: ignore
- # type: ignore
"""
An object that can dump itself to a YAML stream
and load itself from a YAML stream.