Hello community,
here is the log from the commit of package python3-ruamel.yaml for
openSUSE:Factory checked in at 2017-04-13 10:45:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-ruamel.yaml (Old)
and /work/SRC/openSUSE:Factory/.python3-ruamel.yaml.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-ruamel.yaml"
Thu Apr 13 10:45:39 2017 rev:2 rq:487548 version:0.14.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-ruamel.yaml/python3-ruamel.yaml.changes
2017-04-11 09:35:18.300636793 +0200
+++
/work/SRC/openSUSE:Factory/.python3-ruamel.yaml.new/python3-ruamel.yaml.changes
2017-04-13 10:45:45.307614614 +0200
@@ -1,0 +2,9 @@
+Wed Apr 12 11:35:22 UTC 2017 - [email protected]
+
+- update to 0.14.5
+* fix for 0o52 not being a string in YAML 1.1
+* fix issue 109: None not dumping correctly at top level
+* fix issue 110: .replace on Preserved/DoubleQuoted/SingleQuoted
+ ScalarString would give back “normal” string
+
+-------------------------------------------------------------------
Old:
----
ruamel.yaml-0.14.2.tar.gz
New:
----
ruamel.yaml-0.14.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-ruamel.yaml.spec ++++++
--- /var/tmp/diff_new_pack.PvipeH/_old 2017-04-13 10:45:47.175350483 +0200
+++ /var/tmp/diff_new_pack.PvipeH/_new 2017-04-13 10:45:47.175350483 +0200
@@ -13,15 +13,16 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
Name: python3-ruamel.yaml
-Version: 0.14.2
+Version: 0.14.5
Release: 0
-License: MIT
Summary: YAML parser/emitter
-Url: https://bitbucket.org/ruamel/yaml
+License: MIT
Group: Development/Languages/Python
+Url: https://bitbucket.org/ruamel/yaml
Source:
https://files.pythonhosted.org/packages/source/r/ruamel.yaml/ruamel.yaml-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-pip
++++++ ruamel.yaml-0.14.2.tar.gz -> ruamel.yaml-0.14.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/CHANGES
new/ruamel.yaml-0.14.5/CHANGES
--- old/ruamel.yaml-0.14.2/CHANGES 2017-03-23 13:54:17.000000000 +0100
+++ new/ruamel.yaml-0.14.5/CHANGES 2017-04-04 11:38:02.000000000 +0200
@@ -1,3 +1,16 @@
+[0, 14, 5]: 2017-04-04
+ - fix issue 109: None not dumping correctly at top level (reported by Andrea
Censi)
+ - fix issue 110: .replace on Preserved/DoubleQuoted/SingleQuoted ScalarString
+ would give back "normal" string (reported by sandres23)
+
+[0, 14, 4]: 2017-03-31
+ - fix readme
+
+[0, 14, 3]: 2017-03-31
+ - fix for 0o52 not being a string in YAML 1.1 (reported on
+ `StackOverflow Q&A
43138503><http://stackoverflow.com/a/43138503/1307905>`_ by
+ `Frank D <http://stackoverflow.com/users/7796630/frank-d>`_
+
[0, 14, 2]: 2017-03-23
- fix for old default pip on Ubuntu 14.04 (reported by Sébastien
Maccagnoni-Munch)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/PKG-INFO
new/ruamel.yaml-0.14.5/PKG-INFO
--- old/ruamel.yaml-0.14.2/PKG-INFO 2017-03-23 14:23:29.000000000 +0100
+++ new/ruamel.yaml-0.14.5/PKG-INFO 2017-04-04 11:41:15.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: ruamel.yaml
-Version: 0.14.2
+Version: 0.14.5
Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip
preservation of comments, seq/map flow style, and map key order
Home-page: https://bitbucket.org/ruamel/yaml
Author: Anthon van der Neut
@@ -26,6 +26,19 @@
.. should insert NEXT: at the beginning of line for next key
+ 0.14.5 (2017-04-04):
+ - fix issue 109: None not dumping correctly at top level (reported
by Andrea Censi)
+ - fix issue 110: .replace on Preserved/DoubleQuoted/SingleQuoted
ScalarString
+ would give back "normal" string (reported by sandres23)
+
+ 0.14.4 (2017-03-31):
+ - fix readme
+
+ 0.14.3 (2017-03-31):
+ - fix for 0o52 not being a string in YAML 1.1 (reported on
+ `StackOverflow Q&A 43138503
<http://stackoverflow.com/a/43138503/1307905>`_ by
+ `Frank D <http://stackoverflow.com/users/7796630/frank-d>`_)
+
0.14.2 (2017-03-23):
- fix for old default pip on Ubuntu 14.04 (reported by Sébastien
Maccagnoni-Munch)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/README.rst
new/ruamel.yaml-0.14.5/README.rst
--- old/ruamel.yaml-0.14.2/README.rst 2017-03-23 13:54:17.000000000 +0100
+++ new/ruamel.yaml-0.14.5/README.rst 2017-04-04 11:38:02.000000000 +0200
@@ -18,6 +18,19 @@
.. should insert NEXT: at the beginning of line for next key
+0.14.5 (2017-04-04):
+ - fix issue 109: None not dumping correctly at top level (reported by Andrea
Censi)
+ - fix issue 110: .replace on Preserved/DoubleQuoted/SingleQuoted ScalarString
+ would give back "normal" string (reported by sandres23)
+
+0.14.4 (2017-03-31):
+ - fix readme
+
+0.14.3 (2017-03-31):
+ - fix for 0o52 not being a string in YAML 1.1 (reported on
+ `StackOverflow Q&A 43138503
<http://stackoverflow.com/a/43138503/1307905>`_ by
+ `Frank D <http://stackoverflow.com/users/7796630/frank-d>`_)
+
0.14.2 (2017-03-23):
- fix for old default pip on Ubuntu 14.04 (reported by Sébastien
Maccagnoni-Munch)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/__init__.py
new/ruamel.yaml-0.14.5/__init__.py
--- old/ruamel.yaml-0.14.2/__init__.py 2017-03-23 14:20:13.000000000 +0100
+++ new/ruamel.yaml-0.14.5/__init__.py 2017-04-04 11:38:13.000000000 +0200
@@ -10,8 +10,8 @@
_package_data = dict(
full_package_name='ruamel.yaml',
- version_info=(0, 14, 2),
- __version__='0.14.2',
+ version_info=(0, 14, 5),
+ __version__='0.14.5',
author='Anthon van der Neut',
author_email='[email protected]',
description='ruamel.yaml is a YAML parser/emitter that supports roundtrip
preservation of comments, seq/map flow style, and map key order', # NOQA
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/composer.py
new/ruamel.yaml-0.14.5/composer.py
--- old/ruamel.yaml-0.14.2/composer.py 2017-03-21 13:49:15.000000000 +0100
+++ new/ruamel.yaml-0.14.5/composer.py 2017-04-04 10:30:41.000000000 +0200
@@ -111,10 +111,10 @@
if anchor is not None: # have an anchor
if anchor in self.anchors:
# raise ComposerError(
- # "found duplicate anchor %r; first occurence"
+ # "found duplicate anchor %r; first occurrence"
# % utf8(anchor), self.anchors[anchor].start_mark,
- # "second occurence", event.start_mark)
- ws = "\nfound duplicate anchor {!r}\nfirst occurence
{}\nsecond occurence "\
+ # "second occurrence", event.start_mark)
+ ws = "\nfound duplicate anchor {!r}\nfirst occurrence
{}\nsecond occurrence "\
"{}".format(
(anchor), self.anchors[anchor].start_mark,
event.start_mark)
warnings.warn(ws, ReusedAnchorWarning)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/ext/_ruamel_yaml.c
new/ruamel.yaml-0.14.5/ext/_ruamel_yaml.c
--- old/ruamel.yaml-0.14.2/ext/_ruamel_yaml.c 2017-01-17 22:13:19.000000000
+0100
+++ new/ruamel.yaml-0.14.5/ext/_ruamel_yaml.c 2017-04-04 10:30:41.000000000
+0200
@@ -932,7 +932,7 @@
static char __pyx_k_StreamStartToken[] = "StreamStartToken";
static char __pyx_k_descend_resolver[] = "descend_resolver";
static char __pyx_k_no_emitter_error[] = "no emitter error";
-static char __pyx_k_second_occurence[] = "second occurence";
+static char __pyx_k_second_occurrence[] = "second occurrence";
static char __pyx_k_MappingStartEvent[] = "MappingStartEvent";
static char __pyx_k_ruamel_yaml_error[] = "ruamel.yaml.error";
static char __pyx_k_ruamel_yaml_nodes[] = "ruamel.yaml.nodes";
@@ -973,7 +973,7 @@
static char __pyx_k_home_avdndata_hg_ruamel_eu_src[] =
"/home/avdndata/hg/ruamel.eu/src/site-packages/ruamel/yaml/ext/_ruamel_yaml.pyx";
static char __pyx_k_a_string_or_stream_input_is_requ[] = "a string or stream
input is required";
static char __pyx_k_expected_a_single_document_in_th[] = "expected a single
document in the stream";
-static char __pyx_k_found_duplicate_anchor_first_occ[] = "found duplicate
anchor; first occurence";
+static char __pyx_k_found_duplicate_anchor_first_occ[] = "found duplicate
anchor; first occurrence";
static PyObject *__pyx_n_s_AliasEvent;
static PyObject *__pyx_n_s_AliasToken;
static PyObject *__pyx_n_s_AnchorToken;
@@ -1108,8 +1108,8 @@
static PyObject *__pyx_n_s_ruamel_yaml_scanner;
static PyObject *__pyx_n_s_ruamel_yaml_serializer;
static PyObject *__pyx_n_s_ruamel_yaml_tokens;
-static PyObject *__pyx_kp_s_second_occurence;
-static PyObject *__pyx_kp_u_second_occurence;
+static PyObject *__pyx_kp_s_second_occurrence;
+static PyObject *__pyx_kp_u_second_occurrence;
static PyObject *__pyx_kp_s_serializer_is_already_opened;
static PyObject *__pyx_kp_u_serializer_is_already_opened;
static PyObject *__pyx_kp_s_serializer_is_closed;
@@ -10543,8 +10543,8 @@
* self.parsed_event.start_mark.column,
* None, None)
* if PY_MAJOR_VERSION < 3: # <<<<<<<<<<<<<<
- * raise ComposerError("found duplicate anchor; first
occurence",
- * self.anchors[anchor].start_mark, "second
occurence", mark)
+ * raise ComposerError("found duplicate anchor; first
occurrence",
+ * self.anchors[anchor].start_mark, "second
occurrence", mark)
*/
__pyx_t_4 = ((PY_MAJOR_VERSION < 3) != 0);
if (__pyx_t_4) {
@@ -10552,8 +10552,8 @@
/* "_ruamel_yaml.pyx":764
* None, None)
* if PY_MAJOR_VERSION < 3:
- * raise ComposerError("found duplicate anchor; first
occurence", # <<<<<<<<<<<<<<
- * self.anchors[anchor].start_mark, "second
occurence", mark)
+ * raise ComposerError("found duplicate anchor; first
occurrence", # <<<<<<<<<<<<<<
+ * self.anchors[anchor].start_mark, "second
occurrence", mark)
* else:
*/
__pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_ComposerError); if
(unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 764;
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
@@ -10561,10 +10561,10 @@
/* "_ruamel_yaml.pyx":765
* if PY_MAJOR_VERSION < 3:
- * raise ComposerError("found duplicate anchor; first
occurence",
- * self.anchors[anchor].start_mark, "second
occurence", mark) # <<<<<<<<<<<<<<
+ * raise ComposerError("found duplicate anchor; first
occurrence",
+ * self.anchors[anchor].start_mark, "second
occurrence", mark) # <<<<<<<<<<<<<<
* else:
- * raise ComposerError(u"found duplicate anchor; first
occurence",
+ * raise ComposerError(u"found duplicate anchor; first
occurrence",
*/
__pyx_t_7 = PyObject_GetItem(__pyx_v_self->anchors, __pyx_v_anchor);
if (unlikely(__pyx_t_7 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno =
765; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
__Pyx_GOTREF(__pyx_t_7);
@@ -10593,9 +10593,9 @@
PyTuple_SET_ITEM(__pyx_t_9, 0+__pyx_t_8,
__pyx_kp_s_found_duplicate_anchor_first_occ);
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_9, 1+__pyx_t_8, __pyx_t_6);
- __Pyx_INCREF(__pyx_kp_s_second_occurence);
- __Pyx_GIVEREF(__pyx_kp_s_second_occurence);
- PyTuple_SET_ITEM(__pyx_t_9, 2+__pyx_t_8, __pyx_kp_s_second_occurence);
+ __Pyx_INCREF(__pyx_kp_s_second_occurrence);
+ __Pyx_GIVEREF(__pyx_kp_s_second_occurrence);
+ PyTuple_SET_ITEM(__pyx_t_9, 2+__pyx_t_8, __pyx_kp_s_second_occurrence);
__Pyx_INCREF(((PyObject *)__pyx_v_mark));
__Pyx_GIVEREF(((PyObject *)__pyx_v_mark));
PyTuple_SET_ITEM(__pyx_t_9, 3+__pyx_t_8, ((PyObject *)__pyx_v_mark));
@@ -10612,16 +10612,16 @@
* self.parsed_event.start_mark.column,
* None, None)
* if PY_MAJOR_VERSION < 3: # <<<<<<<<<<<<<<
- * raise ComposerError("found duplicate anchor; first
occurence",
- * self.anchors[anchor].start_mark, "second
occurence", mark)
+ * raise ComposerError("found duplicate anchor; first
occurrence",
+ * self.anchors[anchor].start_mark, "second
occurrence", mark)
*/
}
/* "_ruamel_yaml.pyx":767
- * self.anchors[anchor].start_mark, "second
occurence", mark)
+ * self.anchors[anchor].start_mark, "second
occurrence", mark)
* else:
- * raise ComposerError(u"found duplicate anchor; first
occurence", # <<<<<<<<<<<<<<
- * self.anchors[anchor].start_mark, u"second
occurence", mark)
+ * raise ComposerError(u"found duplicate anchor; first
occurrence", # <<<<<<<<<<<<<<
+ * self.anchors[anchor].start_mark, u"second
occurrence", mark)
* self.descend_resolver(parent, index)
*/
/*else*/ {
@@ -10630,8 +10630,8 @@
/* "_ruamel_yaml.pyx":768
* else:
- * raise ComposerError(u"found duplicate anchor; first
occurence",
- * self.anchors[anchor].start_mark, u"second
occurence", mark) # <<<<<<<<<<<<<<
+ * raise ComposerError(u"found duplicate anchor; first
occurrence",
+ * self.anchors[anchor].start_mark, u"second
occurrence", mark) # <<<<<<<<<<<<<<
* self.descend_resolver(parent, index)
* if self.parsed_event.type == YAML_SCALAR_EVENT:
*/
@@ -10662,9 +10662,9 @@
PyTuple_SET_ITEM(__pyx_t_7, 0+__pyx_t_8,
__pyx_kp_u_found_duplicate_anchor_first_occ);
__Pyx_GIVEREF(__pyx_t_6);
PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_8, __pyx_t_6);
- __Pyx_INCREF(__pyx_kp_u_second_occurence);
- __Pyx_GIVEREF(__pyx_kp_u_second_occurence);
- PyTuple_SET_ITEM(__pyx_t_7, 2+__pyx_t_8, __pyx_kp_u_second_occurence);
+ __Pyx_INCREF(__pyx_kp_u_second_occurrence);
+ __Pyx_GIVEREF(__pyx_kp_u_second_occurrence);
+ PyTuple_SET_ITEM(__pyx_t_7, 2+__pyx_t_8, __pyx_kp_u_second_occurrence);
__Pyx_INCREF(((PyObject *)__pyx_v_mark));
__Pyx_GIVEREF(((PyObject *)__pyx_v_mark));
PyTuple_SET_ITEM(__pyx_t_7, 3+__pyx_t_8, ((PyObject *)__pyx_v_mark));
@@ -10697,8 +10697,8 @@
}
/* "_ruamel_yaml.pyx":769
- * raise ComposerError(u"found duplicate anchor; first
occurence",
- * self.anchors[anchor].start_mark, u"second
occurence", mark)
+ * raise ComposerError(u"found duplicate anchor; first
occurrence",
+ * self.anchors[anchor].start_mark, u"second
occurrence", mark)
* self.descend_resolver(parent, index) # <<<<<<<<<<<<<<
* if self.parsed_event.type == YAML_SCALAR_EVENT:
* node = self._compose_scalar_node(anchor)
@@ -10735,7 +10735,7 @@
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
/* "_ruamel_yaml.pyx":770
- * self.anchors[anchor].start_mark, u"second
occurence", mark)
+ * self.anchors[anchor].start_mark, u"second
occurrence", mark)
* self.descend_resolver(parent, index)
* if self.parsed_event.type == YAML_SCALAR_EVENT: #
<<<<<<<<<<<<<<
* node = self._compose_scalar_node(anchor)
@@ -10757,7 +10757,7 @@
__pyx_t_5 = 0;
/* "_ruamel_yaml.pyx":770
- * self.anchors[anchor].start_mark, u"second
occurence", mark)
+ * self.anchors[anchor].start_mark, u"second
occurrence", mark)
* self.descend_resolver(parent, index)
* if self.parsed_event.type == YAML_SCALAR_EVENT: #
<<<<<<<<<<<<<<
* node = self._compose_scalar_node(anchor)
@@ -22237,8 +22237,8 @@
{&__pyx_n_s_ruamel_yaml_scanner, __pyx_k_ruamel_yaml_scanner,
sizeof(__pyx_k_ruamel_yaml_scanner), 0, 0, 1, 1},
{&__pyx_n_s_ruamel_yaml_serializer, __pyx_k_ruamel_yaml_serializer,
sizeof(__pyx_k_ruamel_yaml_serializer), 0, 0, 1, 1},
{&__pyx_n_s_ruamel_yaml_tokens, __pyx_k_ruamel_yaml_tokens,
sizeof(__pyx_k_ruamel_yaml_tokens), 0, 0, 1, 1},
- {&__pyx_kp_s_second_occurence, __pyx_k_second_occurence,
sizeof(__pyx_k_second_occurence), 0, 0, 1, 0},
- {&__pyx_kp_u_second_occurence, __pyx_k_second_occurence,
sizeof(__pyx_k_second_occurence), 0, 1, 0, 0},
+ {&__pyx_kp_s_second_occurrence, __pyx_k_second_occurrence,
sizeof(__pyx_k_second_occurrence), 0, 0, 1, 0},
+ {&__pyx_kp_u_second_occurrence, __pyx_k_second_occurrence,
sizeof(__pyx_k_second_occurrence), 0, 1, 0, 0},
{&__pyx_kp_s_serializer_is_already_opened,
__pyx_k_serializer_is_already_opened,
sizeof(__pyx_k_serializer_is_already_opened), 0, 0, 1, 0},
{&__pyx_kp_u_serializer_is_already_opened,
__pyx_k_serializer_is_already_opened,
sizeof(__pyx_k_serializer_is_already_opened), 0, 1, 0, 0},
{&__pyx_kp_s_serializer_is_closed, __pyx_k_serializer_is_closed,
sizeof(__pyx_k_serializer_is_closed), 0, 0, 1, 0},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/ext/_ruamel_yaml.pyx
new/ruamel.yaml-0.14.5/ext/_ruamel_yaml.pyx
--- old/ruamel.yaml-0.14.2/ext/_ruamel_yaml.pyx 2017-01-17 22:13:19.000000000
+0100
+++ new/ruamel.yaml-0.14.5/ext/_ruamel_yaml.pyx 2017-04-04 10:30:41.000000000
+0200
@@ -761,11 +761,11 @@
self.parsed_event.start_mark.column,
None, None)
if PY_MAJOR_VERSION < 3:
- raise ComposerError("found duplicate anchor; first
occurence",
- self.anchors[anchor].start_mark, "second
occurence", mark)
+ raise ComposerError("found duplicate anchor; first
occurrence",
+ self.anchors[anchor].start_mark, "second
occurrence", mark)
else:
- raise ComposerError(u"found duplicate anchor; first
occurence",
- self.anchors[anchor].start_mark, u"second
occurence", mark)
+ raise ComposerError(u"found duplicate anchor; first
occurrence",
+ self.anchors[anchor].start_mark, u"second
occurrence", mark)
self.descend_resolver(parent, index)
if self.parsed_event.type == YAML_SCALAR_EVENT:
node = self._compose_scalar_node(anchor)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/ext/loader.c
new/ruamel.yaml-0.14.5/ext/loader.c
--- old/ruamel.yaml-0.14.2/ext/loader.c 2017-01-17 22:13:19.000000000 +0100
+++ new/ruamel.yaml-0.14.5/ext/loader.c 2017-04-04 10:30:41.000000000 +0200
@@ -239,8 +239,8 @@
if (strcmp((char *)alias_data->anchor, (char *)anchor) == 0) {
yaml_free(anchor);
return yaml_parser_set_composer_error_context(parser,
- "found duplicate anchor; first occurence",
- alias_data->mark, "second occurence", data.mark);
+ "found duplicate anchor; first occurrence",
+ alias_data->mark, "second occurrence", data.mark);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/ext/scanner.c
new/ruamel.yaml-0.14.5/ext/scanner.c
--- old/ruamel.yaml-0.14.2/ext/scanner.c 2017-01-17 22:13:19.000000000
+0100
+++ new/ruamel.yaml-0.14.5/ext/scanner.c 2017-04-04 10:30:41.000000000
+0200
@@ -2060,7 +2060,7 @@
else
{
yaml_parser_set_scanner_error(parser, "while scanning a directive",
- start_mark, "found uknown directive name");
+ start_mark, "found unknown directive name");
goto error;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/reader.py
new/ruamel.yaml-0.14.5/reader.py
--- old/ruamel.yaml-0.14.2/reader.py 2017-03-22 15:34:25.000000000 +0100
+++ new/ruamel.yaml-0.14.5/reader.py 2017-04-04 10:18:54.000000000 +0200
@@ -136,7 +136,7 @@
def get_mark(self):
# type: () -> Any
- if self.stream is None and self.stream is None:
+ if self.stream is None:
return StringMark(self.name, self.index, self.line, self.column,
self.buffer, self.pointer)
else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/representer.py
new/ruamel.yaml-0.14.5/representer.py
--- old/ruamel.yaml-0.14.2/representer.py 2017-03-21 16:56:59.000000000
+0100
+++ new/ruamel.yaml-0.14.5/representer.py 2017-04-04 10:21:43.000000000
+0200
@@ -644,8 +644,10 @@
def represent_none(self, data):
# type: (Any) -> Any
- return self.represent_scalar(u'tag:yaml.org,2002:null',
- u'')
+ if len(self.represented_objects) == 0 and not
self.serializer.use_explicit_start:
+ # this will be open ended (although it is not yet)
+ return self.represent_scalar(u'tag:yaml.org,2002:null', u'null')
+ return self.represent_scalar(u'tag:yaml.org,2002:null', u'')
def represent_preserved_scalarstring(self, data):
# type: (Any) -> Any
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/resolver.py
new/ruamel.yaml-0.14.5/resolver.py
--- old/ruamel.yaml-0.14.2/resolver.py 2017-03-22 15:21:31.000000000 +0100
+++ new/ruamel.yaml-0.14.5/resolver.py 2017-03-31 12:34:16.000000000 +0200
@@ -53,7 +53,7 @@
([(1, 1)],
u'tag:yaml.org,2002:int',
re.compile(u'''^(?:[-+]?0b[0-1_]+
- |[-+]?0o?[0-7_]+
+ |[-+]?0?[0-7_]+
|[-+]?(?:0|[1-9][0-9_]*)
|[-+]?0x[0-9a-fA-F_]+
|[-+]?[1-9][0-9_]*(?::[0-5]?[0-9])+)$''', re.X),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/ruamel.yaml.egg-info/PKG-INFO
new/ruamel.yaml-0.14.5/ruamel.yaml.egg-info/PKG-INFO
--- old/ruamel.yaml-0.14.2/ruamel.yaml.egg-info/PKG-INFO 2017-03-23
14:23:29.000000000 +0100
+++ new/ruamel.yaml-0.14.5/ruamel.yaml.egg-info/PKG-INFO 2017-04-04
11:41:15.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: ruamel.yaml
-Version: 0.14.2
+Version: 0.14.5
Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip
preservation of comments, seq/map flow style, and map key order
Home-page: https://bitbucket.org/ruamel/yaml
Author: Anthon van der Neut
@@ -26,6 +26,19 @@
.. should insert NEXT: at the beginning of line for next key
+ 0.14.5 (2017-04-04):
+ - fix issue 109: None not dumping correctly at top level (reported
by Andrea Censi)
+ - fix issue 110: .replace on Preserved/DoubleQuoted/SingleQuoted
ScalarString
+ would give back "normal" string (reported by sandres23)
+
+ 0.14.4 (2017-03-31):
+ - fix readme
+
+ 0.14.3 (2017-03-31):
+ - fix for 0o52 not being a string in YAML 1.1 (reported on
+ `StackOverflow Q&A 43138503
<http://stackoverflow.com/a/43138503/1307905>`_ by
+ `Frank D <http://stackoverflow.com/users/7796630/frank-d>`_)
+
0.14.2 (2017-03-23):
- fix for old default pip on Ubuntu 14.04 (reported by Sébastien
Maccagnoni-Munch)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/ruamel.yaml.egg-info/SOURCES.txt
new/ruamel.yaml-0.14.5/ruamel.yaml.egg-info/SOURCES.txt
--- old/ruamel.yaml-0.14.2/ruamel.yaml.egg-info/SOURCES.txt 2017-03-23
14:23:29.000000000 +0100
+++ new/ruamel.yaml-0.14.5/ruamel.yaml.egg-info/SOURCES.txt 2017-04-04
11:41:15.000000000 +0200
@@ -48,4 +48,5 @@
ruamel.yaml.egg-info/SOURCES.txt
ruamel.yaml.egg-info/dependency_links.txt
ruamel.yaml.egg-info/namespace_packages.txt
+ruamel.yaml.egg-info/requires.txt
ruamel.yaml.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/ruamel.yaml.egg-info/requires.txt
new/ruamel.yaml-0.14.5/ruamel.yaml.egg-info/requires.txt
--- old/ruamel.yaml-0.14.2/ruamel.yaml.egg-info/requires.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/ruamel.yaml-0.14.5/ruamel.yaml.egg-info/requires.txt 2017-04-04
11:41:15.000000000 +0200
@@ -0,0 +1,2 @@
+ruamel.ordereddict
+typing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ruamel.yaml-0.14.2/scalarstring.py
new/ruamel.yaml-0.14.5/scalarstring.py
--- old/ruamel.yaml-0.14.2/scalarstring.py 2017-03-22 15:34:24.000000000
+0100
+++ new/ruamel.yaml-0.14.5/scalarstring.py 2017-04-04 10:21:43.000000000
+0200
@@ -21,6 +21,10 @@
# type: (Any, Any) -> Any
return text_type.__new__(cls, *args, **kw) # type: ignore
+ def replace(self, old, new, maxreplace=-1):
+ # type: (Any, Any, int) -> Any
+ return type(self)((text_type.replace(self, old, new, maxreplace)))
+
class PreservedScalarString(ScalarString):
__slots__ = ()