mirror of
https://gitee.com/openharmony/third_party_pyyaml
synced 2024-11-30 13:51:57 +00:00
Prepare the 3.05 release.
This commit is contained in:
parent
dafd164387
commit
804f9d8e58
6
README
6
README
@ -1,10 +1,10 @@
|
||||
PyYAML 3000 - The next generation YAML parser and emitter for Python.
|
||||
PyYAML - The next generation YAML parser and emitter for Python.
|
||||
|
||||
To install, type 'python setup.py install'.
|
||||
|
||||
You may build faster LibYAML based parser and emitter with
|
||||
'python setup_with_libyaml.py install'.
|
||||
Then you may use them with the calls:
|
||||
Then you may use the LibYAML based parser this way:
|
||||
>>> yaml.load(stream, Loader=yaml.CLoader)
|
||||
>>> yaml.dump(data, Dumper=yaml.CDumper)
|
||||
|
||||
@ -20,5 +20,5 @@ Post your questions and opinions to the YAML-Core mailing list:
|
||||
Submit bug reports and feature requests to the PyYAML bug tracker:
|
||||
'http://pyyaml.org/newticket?component=pyyaml'.
|
||||
|
||||
PyYAML 3000 is written by Kirill Simonov <xi@resolvent.net>. It is released
|
||||
PyYAML is written by Kirill Simonov <xi@resolvent.net>. It is released
|
||||
under the MIT license. See the file LICENSE for more details.
|
||||
|
@ -1,13 +1,12 @@
|
||||
From: Kirill Simonov <xi@gamma.dn.ua>
|
||||
To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net
|
||||
Subject: [ANN] PyYAML-3.04: YAML parser and emitter for Python
|
||||
Subject: [ANN] PyYAML-3.05: YAML parser and emitter for Python
|
||||
|
||||
========================
|
||||
Announcing PyYAML-3.04
|
||||
Announcing PyYAML-3.05
|
||||
========================
|
||||
|
||||
A new release of PyYAML, featuring LibYAML bindings and support for recursive
|
||||
structures, is now available:
|
||||
A new bug fix release of PyYAML is now available:
|
||||
|
||||
http://pyyaml.org/wiki/PyYAML
|
||||
|
||||
@ -15,9 +14,15 @@ structures, is now available:
|
||||
Changes
|
||||
=======
|
||||
|
||||
* Include experimental LibYAML bindings.
|
||||
* Fully support recursive structures.
|
||||
* Fix a number of bugs and annoyances
|
||||
* Windows binary packages were built with LibYAML trunk.
|
||||
* Fixed a bug that prevent processing a live stream of YAML documents in timely
|
||||
manner (Thanks edward(at)sweetbytes(dot)net).
|
||||
* Fixed a bug when the path in add_path_resolver contains boolean values
|
||||
(Thanks jstroud(at)mbi(dot)ucla(dot)edu).
|
||||
* Fixed loss of microsecond precision in timestamps
|
||||
(Thanks edemaine(at)mit(dot)edu).
|
||||
* Fixed loading an empty YAML stream.
|
||||
* A number of smaller fixes and improvements
|
||||
(see http://pyyaml.org/wiki/PyYAML#History for more details).
|
||||
|
||||
|
||||
@ -27,11 +32,12 @@ Resources
|
||||
PyYAML homepage: http://pyyaml.org/wiki/PyYAML
|
||||
PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation
|
||||
|
||||
TAR.GZ package: http://pyyaml.org/download/pyyaml/PyYAML-3.04.tar.gz
|
||||
ZIP package: http://pyyaml.org/download/pyyaml/PyYAML-3.04.zip
|
||||
TAR.GZ package: http://pyyaml.org/download/pyyaml/PyYAML-3.05.tar.gz
|
||||
ZIP package: http://pyyaml.org/download/pyyaml/PyYAML-3.05.zip
|
||||
Windows installer:
|
||||
http://pyyaml.org/download/pyyaml/PyYAML-3.04.win32-py2.3.exe
|
||||
http://pyyaml.org/download/pyyaml/PyYAML-3.04.win32-py2.4.exe
|
||||
http://pyyaml.org/download/pyyaml/PyYAML-3.05.win32-py2.3.exe
|
||||
http://pyyaml.org/download/pyyaml/PyYAML-3.05.win32-py2.4.exe
|
||||
http://pyyaml.org/download/pyyaml/PyYAML-3.05.win32-py2.5.exe
|
||||
|
||||
PyYAML SVN repository: http://svn.pyyaml.org/pyyaml
|
||||
Submit a bug report: http://pyyaml.org/newticket?component=pyyaml
|
||||
@ -60,14 +66,22 @@ Example
|
||||
=======
|
||||
|
||||
>>> import yaml
|
||||
>>> print yaml.load("""
|
||||
... &A {
|
||||
... direct self reference: *A,
|
||||
... indirect self references: [*A, *A, *A]
|
||||
... }
|
||||
|
||||
>>> yaml.load("""
|
||||
... name: PyYAML
|
||||
... description: YAML parser and emitter for Python
|
||||
... homepage: http://pyyaml.org/wiki/PyYAML
|
||||
... keywords: [YAML, serialization, configuration, persistance, pickle]
|
||||
... """)
|
||||
{'direct self reference': {...},
|
||||
'indirect self references': [{...}, {...}, {...}]}
|
||||
{'keywords': ['YAML', 'serialization', 'configuration', 'persistance',
|
||||
'pickle'], 'homepage': 'http://pyyaml.org/wiki/PyYAML', 'description':
|
||||
'YAML parser and emitter for Python', 'name': 'PyYAML'}
|
||||
|
||||
>>> print yaml.dump(_)
|
||||
name: PyYAML
|
||||
homepage: http://pyyaml.org/wiki/PyYAML
|
||||
description: YAML parser and emitter for Python
|
||||
keywords: [YAML, serialization, configuration, persistance, pickle]
|
||||
|
||||
|
||||
Copyright
|
||||
@ -77,6 +91,3 @@ The PyYAML module is written by Kirill Simonov <xi@resolvent.net>.
|
||||
|
||||
PyYAML is released under the MIT license.
|
||||
|
||||
This release is developed with the support of the Google Summer of Code
|
||||
program under the mentorship of Clark Evans.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user