2019-12-02 19:58:55 +00:00
|
|
|
From: Tina Müller <post@tinita.de>
|
2015-04-04 16:25:24 +00:00
|
|
|
To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net
|
2019-12-02 19:58:55 +00:00
|
|
|
Subject: [ANN] PyYAML-5.2: YAML parser and emitter for Python
|
2015-04-04 16:25:24 +00:00
|
|
|
|
2018-06-25 03:56:07 +00:00
|
|
|
=======================
|
2019-12-02 19:58:55 +00:00
|
|
|
Announcing PyYAML-5.2
|
2018-06-25 03:56:07 +00:00
|
|
|
=======================
|
2015-04-04 16:25:24 +00:00
|
|
|
|
2019-12-02 19:58:55 +00:00
|
|
|
A new release of PyYAML is now available:
|
2018-06-25 03:56:07 +00:00
|
|
|
https://pypi.org/project/PyYAML/
|
2015-04-04 16:25:24 +00:00
|
|
|
|
2019-12-02 19:58:55 +00:00
|
|
|
This fixes some incompatibilities introduced in version 5.1 and also removes
|
|
|
|
another possibility of loading arbitrary code.
|
2015-04-04 16:25:24 +00:00
|
|
|
|
|
|
|
Changes
|
|
|
|
=======
|
|
|
|
|
2019-12-02 19:58:55 +00:00
|
|
|
* 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
|
2015-04-04 16:25:24 +00:00
|
|
|
|
|
|
|
Resources
|
|
|
|
=========
|
|
|
|
|
2018-06-24 23:08:57 +00:00
|
|
|
PyYAML IRC Channel: #pyyaml on irc.freenode.net
|
|
|
|
PyYAML homepage: https://github.com/yaml/pyyaml
|
2015-04-04 16:25:24 +00:00
|
|
|
PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation
|
2018-06-25 03:56:07 +00:00
|
|
|
Source and binary installers: https://pypi.org/project/PyYAML/
|
|
|
|
GitHub repository: https://github.com/yaml/pyyaml/
|
|
|
|
Bug tracking: https://github.com/yaml/pyyaml/issues
|
2015-04-04 16:25:24 +00:00
|
|
|
|
|
|
|
YAML homepage: http://yaml.org/
|
|
|
|
YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-core
|
|
|
|
|
|
|
|
|
|
|
|
About PyYAML
|
|
|
|
============
|
|
|
|
|
|
|
|
YAML is a data serialization format designed for human readability and
|
2018-06-24 23:08:57 +00:00
|
|
|
interaction with scripting languages. PyYAML is a YAML parser and emitter for
|
|
|
|
Python.
|
2015-04-04 16:25:24 +00:00
|
|
|
|
2018-06-24 23:08:57 +00:00
|
|
|
PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support,
|
|
|
|
capable extension API, and sensible error messages. PyYAML supports standard
|
|
|
|
YAML tags and provides Python-specific tags that allow to represent an
|
|
|
|
arbitrary Python object.
|
2015-04-04 16:25:24 +00:00
|
|
|
|
2018-06-24 23:08:57 +00:00
|
|
|
PyYAML is applicable for a broad range of tasks from complex configuration
|
|
|
|
files to object serialization and persistence.
|
2015-04-04 16:25:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
Example
|
|
|
|
=======
|
|
|
|
|
|
|
|
>>> import yaml
|
|
|
|
|
2019-03-13 15:45:34 +00:00
|
|
|
>>> yaml.full_load("""
|
2015-04-04 16:25:24 +00:00
|
|
|
... name: PyYAML
|
|
|
|
... description: YAML parser and emitter for Python
|
2018-06-24 23:08:57 +00:00
|
|
|
... homepage: https://github.com/yaml/pyyaml
|
2017-01-22 11:42:27 +00:00
|
|
|
... keywords: [YAML, serialization, configuration, persistence, pickle]
|
2015-04-04 16:25:24 +00:00
|
|
|
... """)
|
2017-01-22 11:42:27 +00:00
|
|
|
{'keywords': ['YAML', 'serialization', 'configuration', 'persistence',
|
2018-06-24 23:08:57 +00:00
|
|
|
'pickle'], 'homepage': 'https://github.com/yaml/pyyaml', 'description':
|
2015-04-04 16:25:24 +00:00
|
|
|
'YAML parser and emitter for Python', 'name': 'PyYAML'}
|
|
|
|
|
2019-03-13 15:45:34 +00:00
|
|
|
>>> print(yaml.dump(_))
|
2015-04-04 16:25:24 +00:00
|
|
|
name: PyYAML
|
2018-06-24 23:08:57 +00:00
|
|
|
homepage: https://github.com/yaml/pyyaml
|
2015-04-04 16:25:24 +00:00
|
|
|
description: YAML parser and emitter for Python
|
2017-01-22 11:42:27 +00:00
|
|
|
keywords: [YAML, serialization, configuration, persistence, pickle]
|
2015-04-04 16:25:24 +00:00
|
|
|
|
|
|
|
|
2018-06-24 23:08:57 +00:00
|
|
|
Maintainers
|
|
|
|
===========
|
|
|
|
|
2019-03-13 15:45:34 +00:00
|
|
|
The following people are currently responsible for maintaining PyYAML:
|
2018-06-24 23:08:57 +00:00
|
|
|
|
|
|
|
* Ingy döt Net
|
|
|
|
* Tina Mueller
|
2018-06-25 03:56:07 +00:00
|
|
|
* Matt Davis
|
2018-06-24 23:08:57 +00:00
|
|
|
|
|
|
|
and many thanks to all who have contribributed!
|
|
|
|
See: https://github.com/yaml/pyyaml/pulls
|
|
|
|
|
|
|
|
|
2015-04-04 16:25:24 +00:00
|
|
|
Copyright
|
|
|
|
=========
|
|
|
|
|
2019-03-13 15:45:34 +00:00
|
|
|
Copyright (c) 2017-2019 Ingy döt Net <ingy@ingy.net>
|
2018-06-24 23:08:57 +00:00
|
|
|
Copyright (c) 2006-2016 Kirill Simonov <xi@resolvent.net>
|
2015-04-04 16:25:24 +00:00
|
|
|
|
2018-06-24 23:08:57 +00:00
|
|
|
The PyYAML module was written by Kirill Simonov <xi@resolvent.net>.
|
|
|
|
It is currently maintained by the YAML and Python communities.
|
2015-04-04 16:25:24 +00:00
|
|
|
|
2018-06-24 23:08:57 +00:00
|
|
|
PyYAML is released under the MIT license.
|
2018-06-25 03:56:07 +00:00
|
|
|
See the file LICENSE for more details.
|