Version 5.2

This commit is contained in:
Tina Müller 2019-12-02 20:58:55 +01:00
parent f4fd3fbf87
commit a5c2a043a2
5 changed files with 21 additions and 12 deletions

View File

@ -4,7 +4,7 @@ For a complete changelog, see:
* https://github.com/yaml/pyyaml/commits/
* https://bitbucket.org/xi/pyyaml/commits/
5.2b1 (2019-11-26)
5.2 (2019-12-02)
------------------
* Repair incompatibilities introduced with 5.1. The default Loader was changed,

View File

@ -1,22 +1,31 @@
From: Ingy döt Net <ingy@ingy.net>
From: Tina Müller <post@tinita.de>
To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net
Subject: [ANN] PyYAML-5.1.2: YAML parser and emitter for Python
Subject: [ANN] PyYAML-5.2: YAML parser and emitter for Python
=======================
Announcing PyYAML-5.1.2
Announcing PyYAML-5.2
=======================
A new minor release of PyYAML is now available:
A new release of PyYAML is now available:
https://pypi.org/project/PyYAML/
This is a maintenance re-release of PyYAML 5.1 with re-generated Cython
bindings to allow the extension to build properly for Python 3.8b2+. No code
changes were made in the PyYAML sources.
This fixes some incompatibilities introduced in version 5.1 and also removes
another possibility of loading arbitrary code.
Changes
=======
* None
* 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
Resources
=========

View File

@ -8,7 +8,7 @@ from nodes import *
from loader import *
from dumper import *
__version__ = '5.2b1'
__version__ = '5.2'
try:
from cyaml import *

View File

@ -8,7 +8,7 @@ from .nodes import *
from .loader import *
from .dumper import *
__version__ = '5.2b1'
__version__ = '5.2'
try:
from .cyaml import *
__with_libyaml__ = True

View File

@ -1,6 +1,6 @@
NAME = 'PyYAML'
VERSION = '5.2b1'
VERSION = '5.2'
DESCRIPTION = "YAML parser and emitter for Python"
LONG_DESCRIPTION = """\
YAML is a data serialization format designed for human readability