Skip to content

Commit a5c2a04

Browse files
committed
Version 5.2
1 parent f4fd3fb commit a5c2a04

5 files changed

Lines changed: 21 additions & 12 deletions

File tree

CHANGES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ For a complete changelog, see:
44
* https://github.com/yaml/pyyaml/commits/
55
* https://bitbucket.org/xi/pyyaml/commits/
66

7-
5.2b1 (2019-11-26)
7+
5.2 (2019-12-02)
88
------------------
99

1010
* Repair incompatibilities introduced with 5.1. The default Loader was changed,

announcement.msg

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
1-
From: Ingy döt Net <ingy@ingy.net>
1+
From: Tina Müller <post@tinita.de>
22
To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net
3-
Subject: [ANN] PyYAML-5.1.2: YAML parser and emitter for Python
3+
Subject: [ANN] PyYAML-5.2: YAML parser and emitter for Python
44

55
=======================
6-
Announcing PyYAML-5.1.2
6+
Announcing PyYAML-5.2
77
=======================
88

9-
A new minor release of PyYAML is now available:
9+
A new release of PyYAML is now available:
1010
https://pypi.org/project/PyYAML/
1111

12-
This is a maintenance re-release of PyYAML 5.1 with re-generated Cython
13-
bindings to allow the extension to build properly for Python 3.8b2+. No code
14-
changes were made in the PyYAML sources.
12+
This fixes some incompatibilities introduced in version 5.1 and also removes
13+
another possibility of loading arbitrary code.
1514

1615
Changes
1716
=======
1817

19-
* None
18+
* Repair incompatibilities introduced with 5.1. The default Loader was changed,
19+
but several methods like add_constructor still used the old default
20+
https://github.com/yaml/pyyaml/pull/279 -- A more flexible fix for custom tag constructors
21+
https://github.com/yaml/pyyaml/pull/287 -- Change default loader for yaml.add_constructor
22+
https://github.com/yaml/pyyaml/pull/305 -- Change default loader for add_implicit_resolver, add_path_resolver
23+
* Make FullLoader safer by removing python/object/apply from the default FullLoader
24+
https://github.com/yaml/pyyaml/pull/347 -- Move constructor for object/apply to UnsafeConstructor
25+
* Fix bug introduced in 5.1 where quoting went wrong on systems with sys.maxunicode <= 0xffff
26+
https://github.com/yaml/pyyaml/pull/276 -- Fix logic for quoting special characters
27+
* Other PRs:
28+
https://github.com/yaml/pyyaml/pull/280 -- Update CHANGES for 5.1
2029

2130
Resources
2231
=========

lib/yaml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from loader import *
99
from dumper import *
1010

11-
__version__ = '5.2b1'
11+
__version__ = '5.2'
1212

1313
try:
1414
from cyaml import *

lib3/yaml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .loader import *
99
from .dumper import *
1010

11-
__version__ = '5.2b1'
11+
__version__ = '5.2'
1212
try:
1313
from .cyaml import *
1414
__with_libyaml__ = True

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
NAME = 'PyYAML'
3-
VERSION = '5.2b1'
3+
VERSION = '5.2'
44
DESCRIPTION = "YAML parser and emitter for Python"
55
LONG_DESCRIPTION = """\
66
YAML is a data serialization format designed for human readability

0 commit comments

Comments
 (0)