Hello community,

here is the log from the commit of package python-PyYAML for openSUSE:Factory 
checked in at 2019-12-07 15:14:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyYAML (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyYAML.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyYAML"

Sat Dec  7 15:14:33 2019 rev:21 rq:753178 version:5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyYAML/python-PyYAML.changes      
2019-08-07 13:58:38.792854688 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyYAML.new.4691/python-PyYAML.changes    
2019-12-07 15:15:20.315796264 +0100
@@ -1,0 +2,10 @@
+Tue Dec  3 11:31:41 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- update to 5.2
+ * A more flexible fix for custom tag constructors
+ * Change default loader for yaml.add_constructor
+ * Change default loader for add_implicit_resolver, add_path_resolver
+ * Move constructor for object/apply to UnsafeConstructor
+ * Fix logic for quoting special characters
+
+-------------------------------------------------------------------

Old:
----
  PyYAML-5.1.2.tar.gz

New:
----
  PyYAML-5.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-PyYAML.spec ++++++
--- /var/tmp/diff_new_pack.69KMSU/_old  2019-12-07 15:15:20.975796170 +0100
+++ /var/tmp/diff_new_pack.69KMSU/_new  2019-12-07 15:15:20.979796170 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyYAML
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,11 +19,10 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:           python-PyYAML
-Version:        5.1.2
+Version:        5.2
 Release:        0
 Summary:        YAML parser and emitter for Python
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/yaml/pyyaml
 Source:         
https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz
 BuildRequires:  %{python_module devel}

++++++ PyYAML-5.1.2.tar.gz -> PyYAML-5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyYAML-5.1.2/CHANGES new/PyYAML-5.2/CHANGES
--- old/PyYAML-5.1.2/CHANGES    2019-07-31 03:07:55.000000000 +0200
+++ new/PyYAML-5.2/CHANGES      2019-12-02 22:26:17.000000000 +0100
@@ -4,6 +4,21 @@
 * https://github.com/yaml/pyyaml/commits/
 * https://bitbucket.org/xi/pyyaml/commits/
 
+5.2 (2019-12-02)
+------------------
+
+* Repair incompatibilities introduced with 5.1. The default Loader was changed,
+  but several methods like add_constructor still used the old default
+  https://github.com/yaml/pyyaml/pull/279 -- A more flexible fix for custom 
tag constructors
+  https://github.com/yaml/pyyaml/pull/287 -- Change default loader for 
yaml.add_constructor
+  https://github.com/yaml/pyyaml/pull/305 -- Change default loader for 
add_implicit_resolver, add_path_resolver
+* Make FullLoader safer by removing python/object/apply from the default 
FullLoader
+  https://github.com/yaml/pyyaml/pull/347 -- Move constructor for object/apply 
to UnsafeConstructor
+* Fix bug introduced in 5.1 where quoting went wrong on systems with 
sys.maxunicode <= 0xffff
+  https://github.com/yaml/pyyaml/pull/276 -- Fix logic for quoting special 
characters
+* Other PRs:
+  https://github.com/yaml/pyyaml/pull/280 -- Update CHANGES for 5.1
+
 5.1.2 (2019-07-30)
 ------------------
 
@@ -27,7 +42,6 @@
 * https://github.com/yaml/pyyaml/pull/61 -- Use Travis CI built in pip cache 
support
 * https://github.com/yaml/pyyaml/pull/62 -- Remove tox workaround for Travis CI
 * https://github.com/yaml/pyyaml/pull/63 -- Adding support to Unicode 
characters over codepoint 0xffff
-* https://github.com/yaml/pyyaml/pull/65 -- Support unicode literals over 
codepoint 0xffff
 * https://github.com/yaml/pyyaml/pull/75 -- add 3.12 changelog
 * https://github.com/yaml/pyyaml/pull/76 -- Fallback to Pure Python if 
Compilation fails
 * https://github.com/yaml/pyyaml/pull/84 -- Drop unsupported Python 3.3
@@ -35,12 +49,17 @@
 * https://github.com/yaml/pyyaml/pull/105 -- Removed Python 2.6 & 3.3 support
 * https://github.com/yaml/pyyaml/pull/111 -- Remove commented out Psyco code
 * https://github.com/yaml/pyyaml/pull/129 -- Remove call to `ord` in lib3 
emitter code
-* https://github.com/yaml/pyyaml/pull/143 -- Allow to turn off sorting keys in 
Dumper
 * https://github.com/yaml/pyyaml/pull/149 -- Test on Python 3.7-dev
 * https://github.com/yaml/pyyaml/pull/158 -- Support escaped slash in double 
quotes "\/"
+* https://github.com/yaml/pyyaml/pull/175 -- Updated link to pypi in release 
announcement
 * https://github.com/yaml/pyyaml/pull/181 -- Import Hashable from 
collections.abc
+* https://github.com/yaml/pyyaml/pull/194 -- Reverting 
https://github.com/yaml/pyyaml/pull/74
+* https://github.com/yaml/pyyaml/pull/195 -- Build libyaml on travis
+* https://github.com/yaml/pyyaml/pull/196 -- Force cython when building sdist
+* https://github.com/yaml/pyyaml/pull/254 -- Allow to turn off sorting keys in 
Dumper (2)
 * https://github.com/yaml/pyyaml/pull/256 -- Make default_flow_style=False
 * https://github.com/yaml/pyyaml/pull/257 -- Deprecate yaml.load and add 
FullLoader and UnsafeLoader classes
+* https://github.com/yaml/pyyaml/pull/261 -- Skip certain unicode tests when 
maxunicode not > 0xffff
 * https://github.com/yaml/pyyaml/pull/263 -- Windows Appveyor build
 
 3.13 (2018-07-05)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyYAML-5.1.2/PKG-INFO new/PyYAML-5.2/PKG-INFO
--- old/PyYAML-5.1.2/PKG-INFO   2019-07-31 03:09:13.000000000 +0200
+++ new/PyYAML-5.2/PKG-INFO     2019-12-02 22:30:51.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyYAML
-Version: 5.1.2
+Version: 5.2
 Summary: YAML parser and emitter for Python
 Home-page: https://github.com/yaml/pyyaml
 Author: Kirill Simonov
@@ -31,6 +31,7 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyYAML-5.1.2/ext/_yaml.c new/PyYAML-5.2/ext/_yaml.c
--- old/PyYAML-5.1.2/ext/_yaml.c        2019-07-31 03:09:13.000000000 +0200
+++ new/PyYAML-5.2/ext/_yaml.c  2019-12-02 22:30:51.000000000 +0100
@@ -1,4 +1,4 @@
-/* Generated by Cython 0.29.13 */
+/* Generated by Cython 0.29.14 */
 
 #define PY_SSIZE_T_CLEAN
 #include "Python.h"
@@ -7,8 +7,8 @@
 #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && 
PY_VERSION_HEX < 0x03030000)
     #error Cython requires Python 2.6+ or Python 3.3+.
 #else
-#define CYTHON_ABI "0_29_13"
-#define CYTHON_HEX_VERSION 0x001D0DF0
+#define CYTHON_ABI "0_29_14"
+#define CYTHON_HEX_VERSION 0x001D0EF0
 #define CYTHON_FUTURE_DIVISION 0
 #include <stddef.h>
 #ifndef offsetof
@@ -23789,7 +23789,12 @@
   sizeof(struct __pyx_obj_5_yaml_Mark), /*tp_basicsize*/
   0, /*tp_itemsize*/
   __pyx_tp_dealloc_5_yaml_Mark, /*tp_dealloc*/
+  #if PY_VERSION_HEX < 0x030800b4
   0, /*tp_print*/
+  #endif
+  #if PY_VERSION_HEX >= 0x030800b4
+  0, /*tp_vectorcall_offset*/
+  #endif
   0, /*tp_getattr*/
   0, /*tp_setattr*/
   #if PY_MAJOR_VERSION < 3
@@ -23842,6 +23847,9 @@
   #if PY_VERSION_HEX >= 0x030800b1
   0, /*tp_vectorcall*/
   #endif
+  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
+  0, /*tp_print*/
+  #endif
 };
 static struct __pyx_vtabstruct_5_yaml_CParser __pyx_vtable_5_yaml_CParser;
 
@@ -23962,7 +23970,12 @@
   sizeof(struct __pyx_obj_5_yaml_CParser), /*tp_basicsize*/
   0, /*tp_itemsize*/
   __pyx_tp_dealloc_5_yaml_CParser, /*tp_dealloc*/
+  #if PY_VERSION_HEX < 0x030800b4
   0, /*tp_print*/
+  #endif
+  #if PY_VERSION_HEX >= 0x030800b4
+  0, /*tp_vectorcall_offset*/
+  #endif
   0, /*tp_getattr*/
   0, /*tp_setattr*/
   #if PY_MAJOR_VERSION < 3
@@ -24015,6 +24028,9 @@
   #if PY_VERSION_HEX >= 0x030800b1
   0, /*tp_vectorcall*/
   #endif
+  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
+  0, /*tp_print*/
+  #endif
 };
 static struct __pyx_vtabstruct_5_yaml_CEmitter __pyx_vtable_5_yaml_CEmitter;
 
@@ -24128,7 +24144,12 @@
   sizeof(struct __pyx_obj_5_yaml_CEmitter), /*tp_basicsize*/
   0, /*tp_itemsize*/
   __pyx_tp_dealloc_5_yaml_CEmitter, /*tp_dealloc*/
+  #if PY_VERSION_HEX < 0x030800b4
   0, /*tp_print*/
+  #endif
+  #if PY_VERSION_HEX >= 0x030800b4
+  0, /*tp_vectorcall_offset*/
+  #endif
   0, /*tp_getattr*/
   0, /*tp_setattr*/
   #if PY_MAJOR_VERSION < 3
@@ -24181,6 +24202,9 @@
   #if PY_VERSION_HEX >= 0x030800b1
   0, /*tp_vectorcall*/
   #endif
+  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
+  0, /*tp_print*/
+  #endif
 };
 
 static PyMethodDef __pyx_methods[] = {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyYAML-5.1.2/lib/yaml/__init__.py 
new/PyYAML-5.2/lib/yaml/__init__.py
--- old/PyYAML-5.1.2/lib/yaml/__init__.py       2019-07-31 03:07:55.000000000 
+0200
+++ new/PyYAML-5.2/lib/yaml/__init__.py 2019-12-02 22:26:17.000000000 +0100
@@ -8,7 +8,7 @@
 from loader import *
 from dumper import *
 
-__version__ = '5.1.2'
+__version__ = '5.2'
 
 try:
     from cyaml import *
@@ -309,42 +309,62 @@
     return dump_all([data], stream, Dumper=SafeDumper, **kwds)
 
 def add_implicit_resolver(tag, regexp, first=None,
-        Loader=Loader, Dumper=Dumper):
+        Loader=None, Dumper=Dumper):
     """
     Add an implicit scalar detector.
     If an implicit scalar value matches the given regexp,
     the corresponding tag is assigned to the scalar.
     first is a sequence of possible initial characters or None.
     """
-    Loader.add_implicit_resolver(tag, regexp, first)
+    if Loader is None:
+        loader.Loader.add_implicit_resolver(tag, regexp, first)
+        loader.FullLoader.add_implicit_resolver(tag, regexp, first)
+        loader.UnsafeLoader.add_implicit_resolver(tag, regexp, first)
+    else:
+        Loader.add_implicit_resolver(tag, regexp, first)
     Dumper.add_implicit_resolver(tag, regexp, first)
 
-def add_path_resolver(tag, path, kind=None, Loader=Loader, Dumper=Dumper):
+def add_path_resolver(tag, path, kind=None, Loader=None, Dumper=Dumper):
     """
     Add a path based resolver for the given tag.
     A path is a list of keys that forms a path
     to a node in the representation tree.
     Keys can be string values, integers, or None.
     """
-    Loader.add_path_resolver(tag, path, kind)
+    if Loader is None:
+        loader.Loader.add_path_resolver(tag, path, kind)
+        loader.FullLoader.add_path_resolver(tag, path, kind)
+        loader.UnsafeLoader.add_path_resolver(tag, path, kind)
+    else:
+        Loader.add_path_resolver(tag, path, kind)
     Dumper.add_path_resolver(tag, path, kind)
 
-def add_constructor(tag, constructor, Loader=Loader):
+def add_constructor(tag, constructor, Loader=None):
     """
     Add a constructor for the given tag.
     Constructor is a function that accepts a Loader instance
     and a node object and produces the corresponding Python object.
     """
-    Loader.add_constructor(tag, constructor)
+    if Loader == None:
+        loader.Loader.add_constructor(tag, constructor)
+        loader.FullLoader.add_constructor(tag, constructor)
+        loader.UnsafeLoader.add_constructor(tag, constructor)
+    else:
+        Loader.add_constructor(tag, constructor)
 
-def add_multi_constructor(tag_prefix, multi_constructor, Loader=Loader):
+def add_multi_constructor(tag_prefix, multi_constructor, Loader=None):
     """
     Add a multi-constructor for the given tag prefix.
     Multi-constructor is called for a node if its tag starts with tag_prefix.
     Multi-constructor accepts a Loader instance, a tag suffix,
     and a node object and produces the corresponding Python object.
     """
-    Loader.add_multi_constructor(tag_prefix, multi_constructor)
+    if Loader == None:
+        loader.Loader.add_multi_constructor(tag_prefix, multi_constructor)
+        loader.FullLoader.add_multi_constructor(tag_prefix, multi_constructor)
+        loader.UnsafeLoader.add_multi_constructor(tag_prefix, 
multi_constructor)
+    else:
+        Loader.add_multi_constructor(tag_prefix, multi_constructor)
 
 def add_representer(data_type, representer, Dumper=Dumper):
     """
@@ -371,7 +391,12 @@
     def __init__(cls, name, bases, kwds):
         super(YAMLObjectMetaclass, cls).__init__(name, bases, kwds)
         if 'yaml_tag' in kwds and kwds['yaml_tag'] is not None:
-            cls.yaml_loader.add_constructor(cls.yaml_tag, cls.from_yaml)
+            if isinstance(cls.yaml_loader, list):
+                for loader in cls.yaml_loader:
+                    loader.add_constructor(cls.yaml_tag, cls.from_yaml)
+            else:
+                cls.yaml_loader.add_constructor(cls.yaml_tag, cls.from_yaml)
+
             cls.yaml_dumper.add_representer(cls, cls.to_yaml)
 
 class YAMLObject(object):
@@ -383,7 +408,7 @@
     __metaclass__ = YAMLObjectMetaclass
     __slots__ = ()  # no direct instantiation, so allow immutable subclasses
 
-    yaml_loader = Loader
+    yaml_loader = [Loader, FullLoader, UnsafeLoader]
     yaml_dumper = Dumper
 
     yaml_tag = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyYAML-5.1.2/lib/yaml/constructor.py 
new/PyYAML-5.2/lib/yaml/constructor.py
--- old/PyYAML-5.1.2/lib/yaml/constructor.py    2019-07-31 03:07:55.000000000 
+0200
+++ new/PyYAML-5.2/lib/yaml/constructor.py      2019-12-02 22:26:17.000000000 
+0100
@@ -684,10 +684,6 @@
     FullConstructor.construct_python_object)
 
 FullConstructor.add_multi_constructor(
-    u'tag:yaml.org,2002:python/object/apply:',
-    FullConstructor.construct_python_object_apply)
-
-FullConstructor.add_multi_constructor(
     u'tag:yaml.org,2002:python/object/new:',
     FullConstructor.construct_python_object_new)
 
@@ -703,6 +699,10 @@
         return super(UnsafeConstructor, self).make_python_instance(
             suffix, node, args, kwds, newobj, unsafe=True)
 
+UnsafeConstructor.add_multi_constructor(
+    u'tag:yaml.org,2002:python/object/apply:',
+    UnsafeConstructor.construct_python_object_apply)
+
 # Constructor is same as UnsafeConstructor. Need to leave this in place in case
 # people have extended it directly.
 class Constructor(UnsafeConstructor):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyYAML-5.1.2/lib/yaml/emitter.py 
new/PyYAML-5.2/lib/yaml/emitter.py
--- old/PyYAML-5.1.2/lib/yaml/emitter.py        2019-07-31 03:07:55.000000000 
+0200
+++ new/PyYAML-5.2/lib/yaml/emitter.py  2019-12-02 22:26:17.000000000 +0100
@@ -706,7 +706,7 @@
             if not (ch == u'\n' or u'\x20' <= ch <= u'\x7E'):
                 if (ch == u'\x85' or u'\xA0' <= ch <= u'\uD7FF'
                         or u'\uE000' <= ch <= u'\uFFFD'
-                        or ((not has_ucs4) or (u'\U00010000' <= ch < 
u'\U0010ffff'))) and ch != u'\uFEFF':
+                        or (u'\U00010000' <= ch < u'\U0010ffff')) and ch != 
u'\uFEFF':
                     unicode_characters = True
                     if not self.allow_unicode:
                         special_characters = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyYAML-5.1.2/lib3/yaml/__init__.py 
new/PyYAML-5.2/lib3/yaml/__init__.py
--- old/PyYAML-5.1.2/lib3/yaml/__init__.py      2019-07-31 03:07:55.000000000 
+0200
+++ new/PyYAML-5.2/lib3/yaml/__init__.py        2019-12-02 22:26:17.000000000 
+0100
@@ -8,7 +8,7 @@
 from .loader import *
 from .dumper import *
 
-__version__ = '5.1.2'
+__version__ = '5.2'
 try:
     from .cyaml import *
     __with_libyaml__ = True
@@ -306,42 +306,62 @@
     return dump_all([data], stream, Dumper=SafeDumper, **kwds)
 
 def add_implicit_resolver(tag, regexp, first=None,
-        Loader=Loader, Dumper=Dumper):
+        Loader=None, Dumper=Dumper):
     """
     Add an implicit scalar detector.
     If an implicit scalar value matches the given regexp,
     the corresponding tag is assigned to the scalar.
     first is a sequence of possible initial characters or None.
     """
-    Loader.add_implicit_resolver(tag, regexp, first)
+    if Loader is None:
+        loader.Loader.add_implicit_resolver(tag, regexp, first)
+        loader.FullLoader.add_implicit_resolver(tag, regexp, first)
+        loader.UnsafeLoader.add_implicit_resolver(tag, regexp, first)
+    else:
+        Loader.add_implicit_resolver(tag, regexp, first)
     Dumper.add_implicit_resolver(tag, regexp, first)
 
-def add_path_resolver(tag, path, kind=None, Loader=Loader, Dumper=Dumper):
+def add_path_resolver(tag, path, kind=None, Loader=None, Dumper=Dumper):
     """
     Add a path based resolver for the given tag.
     A path is a list of keys that forms a path
     to a node in the representation tree.
     Keys can be string values, integers, or None.
     """
-    Loader.add_path_resolver(tag, path, kind)
+    if Loader is None:
+        loader.Loader.add_path_resolver(tag, path, kind)
+        loader.FullLoader.add_path_resolver(tag, path, kind)
+        loader.UnsafeLoader.add_path_resolver(tag, path, kind)
+    else:
+        Loader.add_path_resolver(tag, path, kind)
     Dumper.add_path_resolver(tag, path, kind)
 
-def add_constructor(tag, constructor, Loader=Loader):
+def add_constructor(tag, constructor, Loader=None):
     """
     Add a constructor for the given tag.
     Constructor is a function that accepts a Loader instance
     and a node object and produces the corresponding Python object.
     """
-    Loader.add_constructor(tag, constructor)
+    if Loader == None:
+        loader.Loader.add_constructor(tag, constructor)
+        loader.FullLoader.add_constructor(tag, constructor)
+        loader.UnsafeLoader.add_constructor(tag, constructor)
+    else:
+        Loader.add_constructor(tag, constructor)
 
-def add_multi_constructor(tag_prefix, multi_constructor, Loader=Loader):
+def add_multi_constructor(tag_prefix, multi_constructor, Loader=None):
     """
     Add a multi-constructor for the given tag prefix.
     Multi-constructor is called for a node if its tag starts with tag_prefix.
     Multi-constructor accepts a Loader instance, a tag suffix,
     and a node object and produces the corresponding Python object.
     """
-    Loader.add_multi_constructor(tag_prefix, multi_constructor)
+    if Loader == None:
+        loader.Loader.add_multi_constructor(tag_prefix, multi_constructor)
+        loader.FullLoader.add_multi_constructor(tag_prefix, multi_constructor)
+        loader.UnsafeLoader.add_multi_constructor(tag_prefix, 
multi_constructor)
+    else:
+        Loader.add_multi_constructor(tag_prefix, multi_constructor)
 
 def add_representer(data_type, representer, Dumper=Dumper):
     """
@@ -368,7 +388,12 @@
     def __init__(cls, name, bases, kwds):
         super(YAMLObjectMetaclass, cls).__init__(name, bases, kwds)
         if 'yaml_tag' in kwds and kwds['yaml_tag'] is not None:
-            cls.yaml_loader.add_constructor(cls.yaml_tag, cls.from_yaml)
+            if isinstance(cls.yaml_loader, list):
+                for loader in cls.yaml_loader:
+                    loader.add_constructor(cls.yaml_tag, cls.from_yaml)
+            else:
+                cls.yaml_loader.add_constructor(cls.yaml_tag, cls.from_yaml)
+
             cls.yaml_dumper.add_representer(cls, cls.to_yaml)
 
 class YAMLObject(metaclass=YAMLObjectMetaclass):
@@ -379,7 +404,7 @@
 
     __slots__ = ()  # no direct instantiation, so allow immutable subclasses
 
-    yaml_loader = Loader
+    yaml_loader = [Loader, FullLoader, UnsafeLoader]
     yaml_dumper = Dumper
 
     yaml_tag = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyYAML-5.1.2/lib3/yaml/constructor.py 
new/PyYAML-5.2/lib3/yaml/constructor.py
--- old/PyYAML-5.1.2/lib3/yaml/constructor.py   2019-07-31 03:07:55.000000000 
+0200
+++ new/PyYAML-5.2/lib3/yaml/constructor.py     2019-12-02 22:26:17.000000000 
+0100
@@ -695,10 +695,6 @@
     FullConstructor.construct_python_object)
 
 FullConstructor.add_multi_constructor(
-    'tag:yaml.org,2002:python/object/apply:',
-    FullConstructor.construct_python_object_apply)
-
-FullConstructor.add_multi_constructor(
     'tag:yaml.org,2002:python/object/new:',
     FullConstructor.construct_python_object_new)
 
@@ -714,6 +710,10 @@
         return super(UnsafeConstructor, self).make_python_instance(
             suffix, node, args, kwds, newobj, unsafe=True)
 
+UnsafeConstructor.add_multi_constructor(
+    'tag:yaml.org,2002:python/object/apply:',
+    UnsafeConstructor.construct_python_object_apply)
+
 # Constructor is same as UnsafeConstructor. Need to leave this in place in case
 # people have extended it directly.
 class Constructor(UnsafeConstructor):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyYAML-5.1.2/setup.py new/PyYAML-5.2/setup.py
--- old/PyYAML-5.1.2/setup.py   2019-07-31 03:07:55.000000000 +0200
+++ new/PyYAML-5.2/setup.py     2019-12-02 22:26:17.000000000 +0100
@@ -1,6 +1,6 @@
 
 NAME = 'PyYAML'
-VERSION = '5.1.2'
+VERSION = '5.2'
 DESCRIPTION = "YAML parser and emitter for Python"
 LONG_DESCRIPTION = """\
 YAML is a data serialization format designed for human readability
@@ -33,6 +33,7 @@
     "Programming Language :: Python :: 3.5",
     "Programming Language :: Python :: 3.6",
     "Programming Language :: Python :: 3.7",
+    "Programming Language :: Python :: 3.8",
     "Programming Language :: Python :: Implementation :: CPython",
     "Programming Language :: Python :: Implementation :: PyPy",
     "Topic :: Software Development :: Libraries :: Python Modules",


Reply via email to