[ANN] PyYAML-5.1: YAML parser and emitter for Python

Ingy dot Net <[email protected]> Wed, 13 Mar 2019 10:02:24 -0700
Newsgroups gmane.text.yaml.general,gmane.comp.python.general
Message-ID <CAHJtQJ5uLUfWZs0QgQLzM2rfT+bnBgo_Fv9w4+ms3mZziA3UTg@mail.gmail.com>
--===============1479470594259486890==
Content-Type: multipart/alternative; boundary="000000000000af1d460583fcc520"

--000000000000af1d460583fcc520
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 Announcing PyYAML-5.1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

A new MAJOR RELEASE of PyYAML is now available:
https://pypi.org/project/PyYAML/

This is the first major release of PyYAML under the new maintenance team.

Among the many changes listed below, this release specifically addresses th=
e
arbitrary code execution issue raised by:

    https://nvd.nist.gov/vuln/detail/CVE-2017-18342
<https://nvd.nist.gov/vuln/detail/CVE-2017-18342>

(See https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecatio=
n
for complete details).

The PyYAML project is now maintained by the YAML and Python communities.
Planning happens on the #yaml-dev, #pyyaml and #libyaml IRC channels on
irc.freenode.net.


Changes
=3D=3D=3D=3D=3D=3D=3D

* https://github.com/yaml/pyyaml/pull/35  -- Some modernization of the test
running
* https://github.com/yaml/pyyaml/pull/42  -- Install tox in a virtualenv
* https://github.com/yaml/pyyaml/pull/45  -- Allow colon in a plain scalar
in a flow context
* https://github.com/yaml/pyyaml/pull/48  -- Fix typos
* https://github.com/yaml/pyyaml/pull/55  -- Improve RepresenterError
creation
* https://github.com/yaml/pyyaml/pull/59  -- Resolves #57, update readme
issues link
* https://github.com/yaml/pyyaml/pull/60  -- Document and test Python 3.6
support
* 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
* https://github.com/yaml/pyyaml/pull/102 -- Include license file in the
generated wheel package
* 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 cod=
e
* 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/181 -- Import Hashable from
collections.abc
* https://github.com/yaml/pyyaml/pull/256 -- Make default_flow_style=3DFals=
e
* https://github.com/yaml/pyyaml/pull/257 -- Deprecate yaml.load and add
FullLoader and UnsafeLoader classes
* https://github.com/yaml/pyyaml/pull/263 -- Windows Appveyor build


Resources
=3D=3D=3D=3D=3D=3D=3D=3D=3D

PyYAML IRC Channel: #pyyaml on irc.freenode.net
PyYAML homepage: https://github.com/yaml/pyyaml
PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation
Source and binary installers: https://pypi.org/project/PyYAML/
GitHub repository: https://github.com/yaml/pyyaml/
Bug tracking: https://github.com/yaml/pyyaml/issues

YAML homepage: http://yaml.org/
YAML-core mailing list:
http://lists.sourceforge.net/lists/listinfo/yaml-core


About PyYAML
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

YAML is a data serialization format designed for human readability and
interaction with scripting languages. PyYAML is a YAML parser and emitter
for
Python.

PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support=
,
capable extension API, and sensible error messages. PyYAML supports standar=
d
YAML tags and provides Python-specific tags that allow to represent an
arbitrary Python object.

PyYAML is applicable for a broad range of tasks from complex configuration
files to object serialization and persistence.


Example
=3D=3D=3D=3D=3D=3D=3D

>>> import yaml

>>> yaml.full_load("""
... name: PyYAML
... description: YAML parser and emitter for Python
... homepage: https://github.com/yaml/pyyaml
... keywords: [YAML, serialization, configuration, persistence, pickle]
... """)
{'keywords': ['YAML', 'serialization', 'configuration', 'persistence',
'pickle'], 'homepage': 'https://github.com/yaml/pyyaml', 'description':
'YAML parser and emitter for Python', 'name': 'PyYAML'}

>>> print(yaml.dump(_))
name: PyYAML
homepage: https://github.com/yaml/pyyaml
description: YAML parser and emitter for Python
keywords: [YAML, serialization, configuration, persistence, pickle]


Maintainers
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The following people are currently responsible for maintaining PyYAML:

* Ingy d=C3=B6t Net
* Tina Mueller
* Matt Davis

and many thanks to all who have contribributed!
See: https://github.com/yaml/pyyaml/pulls


Copyright
=3D=3D=3D=3D=3D=3D=3D=3D=3D

Copyright (c) 2017-2019 Ingy d=C3=B6t Net <[email protected]>
Copyright (c) 2006-2016 Kirill Simonov <xi-RCSp1WnSyaseIZ0/[email protected]>

The PyYAML module was written by Kirill Simonov <xi-RCSp1WnSyaseIZ0/[email protected]>.
It is currently maintained by the YAML and Python communities.

PyYAML is released under the MIT license.
See the file LICENSE for more details.

--000000000000af1d460583fcc520
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div><div><br></div><div>=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div>=C2=A0Announcing=
 PyYAML-5.1</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D</div><div><br></div><div>A new MAJOR RELEASE of PyYAML i=
s now available:</div><div><a href=3D"https://pypi.org/project/PyYAML/" tar=
get=3D"_blank">https://pypi.org/project/PyYAML/</a></div><div><br></div><di=
v>This is the first major release of PyYAML under the new maintenance team.=
</div><div><br></div><div>Among the many changes listed below, this release=
 specifically addresses the</div><div>arbitrary code execution issue raised=
 by:</div><div><br></div><div><a href=3D"https://nvd.nist.gov/vuln/detail/C=
VE-2017-18342" target=3D"_blank">=C2=A0 =C2=A0 https://nvd.nist.gov/vuln/de=
tail/CVE-2017-18342</a></div><div><br></div><div>(See <a href=3D"https://gi=
thub.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation" target=3D"_b=
lank">https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecati=
on</a></div><div>for complete details).</div><div><br></div><div>The PyYAML=
 project is now maintained by the YAML and Python communities.</div><div>Pl=
anning happens on the #yaml-dev, #pyyaml and #libyaml IRC channels on</div>=
<div><a href=3D"http://irc.freenode.net" target=3D"_blank">irc.freenode.net=
</a>.</div><div><br></div><div><br></div><div>Changes</div><div>=3D=3D=3D=
=3D=3D=3D=3D</div><div><br></div><div>* <a href=3D"https://github.com/yaml/=
pyyaml/pull/35" target=3D"_blank">https://github.com/yaml/pyyaml/pull/35</a=
>=C2=A0 -- Some modernization of the test running</div><div>* <a href=3D"ht=
tps://github.com/yaml/pyyaml/pull/42" target=3D"_blank">https://github.com/=
yaml/pyyaml/pull/42</a>=C2=A0 -- Install tox in a virtualenv</div><div>* <a=
 href=3D"https://github.com/yaml/pyyaml/pull/45" target=3D"_blank">https://=
github.com/yaml/pyyaml/pull/45</a>=C2=A0 -- Allow colon in a plain scalar i=
n a flow context</div><div>* <a href=3D"https://github.com/yaml/pyyaml/pull=
/48" target=3D"_blank">https://github.com/yaml/pyyaml/pull/48</a>=C2=A0 -- =
Fix typos</div><div>* <a href=3D"https://github.com/yaml/pyyaml/pull/55" ta=
rget=3D"_blank">https://github.com/yaml/pyyaml/pull/55</a>=C2=A0 -- Improve=
 RepresenterError creation</div><div>* <a href=3D"https://github.com/yaml/p=
yyaml/pull/59" target=3D"_blank">https://github.com/yaml/pyyaml/pull/59</a>=
=C2=A0 -- Resolves #57, update readme issues link</div><div>* <a href=3D"ht=
tps://github.com/yaml/pyyaml/pull/60" target=3D"_blank">https://github.com/=
yaml/pyyaml/pull/60</a>=C2=A0 -- Document and test Python 3.6 support</div>=
<div>* <a href=3D"https://github.com/yaml/pyyaml/pull/61" target=3D"_blank"=
>https://github.com/yaml/pyyaml/pull/61</a>=C2=A0 -- Use Travis CI built in=
 pip cache support</div><div>* <a href=3D"https://github.com/yaml/pyyaml/pu=
ll/62" target=3D"_blank">https://github.com/yaml/pyyaml/pull/62</a>=C2=A0 -=
- Remove tox workaround for Travis CI</div><div>* <a href=3D"https://github=
.com/yaml/pyyaml/pull/63" target=3D"_blank">https://github.com/yaml/pyyaml/=
pull/63</a>=C2=A0 -- Adding support to Unicode characters over codepoint 0x=
ffff</div><div>* <a href=3D"https://github.com/yaml/pyyaml/pull/65" target=
=3D"_blank">https://github.com/yaml/pyyaml/pull/65</a>=C2=A0 -- Support uni=
code literals over codepoint 0xffff</div><div>* <a href=3D"https://github.c=
om/yaml/pyyaml/pull/75" target=3D"_blank">https://github.com/yaml/pyyaml/pu=
ll/75</a>=C2=A0 -- add 3.12 changelog</div><div>* <a href=3D"https://github=
.com/yaml/pyyaml/pull/76" target=3D"_blank">https://github.com/yaml/pyyaml/=
pull/76</a>=C2=A0 -- Fallback to Pure Python if Compilation fails</div><div=
>* <a href=3D"https://github.com/yaml/pyyaml/pull/84" target=3D"_blank">htt=
ps://github.com/yaml/pyyaml/pull/84</a>=C2=A0 -- Drop unsupported Python 3.=
3</div><div>* <a href=3D"https://github.com/yaml/pyyaml/pull/102" target=3D=
"_blank">https://github.com/yaml/pyyaml/pull/102</a> -- Include license fil=
e in the generated wheel package</div><div>* <a href=3D"https://github.com/=
yaml/pyyaml/pull/105" target=3D"_blank">https://github.com/yaml/pyyaml/pull=
/105</a> -- Removed Python 2.6 &amp; 3.3 support</div><div>* <a href=3D"htt=
ps://github.com/yaml/pyyaml/pull/111" target=3D"_blank">https://github.com/=
yaml/pyyaml/pull/111</a> -- Remove commented out Psyco code</div><div>* <a =
href=3D"https://github.com/yaml/pyyaml/pull/129" target=3D"_blank">https://=
github.com/yaml/pyyaml/pull/129</a> -- Remove call to `ord` in lib3 emitter=
 code</div><div>* <a href=3D"https://github.com/yaml/pyyaml/pull/143" targe=
t=3D"_blank">https://github.com/yaml/pyyaml/pull/143</a> -- Allow to turn o=
ff sorting keys in Dumper</div><div>* <a href=3D"https://github.com/yaml/py=
yaml/pull/149" target=3D"_blank">https://github.com/yaml/pyyaml/pull/149</a=
> -- Test on Python 3.7-dev</div><div>* <a href=3D"https://github.com/yaml/=
pyyaml/pull/158" target=3D"_blank">https://github.com/yaml/pyyaml/pull/158<=
/a> -- Support escaped slash in double quotes &quot;\/&quot;</div><div>* <a=
 href=3D"https://github.com/yaml/pyyaml/pull/181" target=3D"_blank">https:/=
/github.com/yaml/pyyaml/pull/181</a> -- Import Hashable from collections.ab=
c</div><div>* <a href=3D"https://github.com/yaml/pyyaml/pull/256" target=3D=
"_blank">https://github.com/yaml/pyyaml/pull/256</a> -- Make default_flow_s=
tyle=3DFalse</div><div>* <a href=3D"https://github.com/yaml/pyyaml/pull/257=
" target=3D"_blank">https://github.com/yaml/pyyaml/pull/257</a> -- Deprecat=
e yaml.load and add FullLoader and UnsafeLoader classes</div><div>* <a href=
=3D"https://github.com/yaml/pyyaml/pull/263" target=3D"_blank">https://gith=
ub.com/yaml/pyyaml/pull/263</a> -- Windows Appveyor build</div><div><br></d=
iv><div><br></div><div>Resources</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D</div=
><div><br></div><div>PyYAML IRC Channel: #pyyaml on <a href=3D"http://irc.f=
reenode.net" target=3D"_blank">irc.freenode.net</a></div><div>PyYAML homepa=
ge: <a href=3D"https://github.com/yaml/pyyaml" target=3D"_blank">https://gi=
thub.com/yaml/pyyaml</a></div><div>PyYAML documentation: <a href=3D"http://=
pyyaml.org/wiki/PyYAMLDocumentation" target=3D"_blank">http://pyyaml.org/wi=
ki/PyYAMLDocumentation</a></div><div>Source and binary installers: <a href=
=3D"https://pypi.org/project/PyYAML/" target=3D"_blank">https://pypi.org/pr=
oject/PyYAML/</a></div><div>GitHub repository: <a href=3D"https://github.co=
m/yaml/pyyaml/" target=3D"_blank">https://github.com/yaml/pyyaml/</a></div>=
<div>Bug tracking: <a href=3D"https://github.com/yaml/pyyaml/issues" target=
=3D"_blank">https://github.com/yaml/pyyaml/issues</a></div><div><br></div><=
div>YAML homepage: <a href=3D"http://yaml.org/" target=3D"_blank">http://ya=
ml.org/</a></div><div>YAML-core mailing list: <a href=3D"http://lists.sourc=
eforge.net/lists/listinfo/yaml-core" target=3D"_blank">http://lists.sourcef=
orge.net/lists/listinfo/yaml-core</a></div><div><br></div><div><br></div><d=
iv>About PyYAML</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div><b=
r></div><div>YAML is a data serialization format designed for human readabi=
lity and</div><div>interaction with scripting languages. PyYAML is a YAML p=
arser and emitter for</div><div>Python.</div><div><br></div><div>PyYAML fea=
tures a complete YAML 1.1 parser, Unicode support, pickle support,</div><di=
v>capable extension API, and sensible error messages. PyYAML supports stand=
ard</div><div>YAML tags and provides Python-specific tags that allow to rep=
resent an</div><div>arbitrary Python object.</div><div><br></div><div>PyYAM=
L is applicable for a broad range of tasks from complex configuration</div>=
<div>files to object serialization and persistence.</div><div><br></div><di=
v><br></div><div>Example</div><div>=3D=3D=3D=3D=3D=3D=3D</div><div><br></di=
v><div>&gt;&gt;&gt; import yaml</div><div><br></div><div>&gt;&gt;&gt; yaml.=
full_load(&quot;&quot;&quot;</div><div>... name: PyYAML</div><div>... descr=
iption: YAML parser and emitter for Python</div><div>... homepage: <a href=
=3D"https://github.com/yaml/pyyaml" target=3D"_blank">https://github.com/ya=
ml/pyyaml</a></div><div>... keywords: [YAML, serialization, configuration, =
persistence, pickle]</div><div>... &quot;&quot;&quot;)</div><div>{&#39;keyw=
ords&#39;: [&#39;YAML&#39;, &#39;serialization&#39;, &#39;configuration&#39=
;, &#39;persistence&#39;,</div><div>&#39;pickle&#39;], &#39;homepage&#39;: =
&#39;<a href=3D"https://github.com/yaml/pyyaml" target=3D"_blank">https://g=
ithub.com/yaml/pyyaml</a>&#39;, &#39;description&#39;:</div><div>&#39;YAML =
parser and emitter for Python&#39;, &#39;name&#39;: &#39;PyYAML&#39;}</div>=
<div><br></div><div>&gt;&gt;&gt; print(yaml.dump(_))</div><div>name: PyYAML=
</div><div>homepage: <a href=3D"https://github.com/yaml/pyyaml" target=3D"_=
blank">https://github.com/yaml/pyyaml</a></div><div>description: YAML parse=
r and emitter for Python</div><div>keywords: [YAML, serialization, configur=
ation, persistence, pickle]</div><div><br></div><div><br></div><div>Maintai=
ners</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div><div><br></div><div>T=
he following people are currently responsible for maintaining PyYAML:</div>=
<div><br></div><div>* Ingy d=C3=B6t Net</div><div>* Tina Mueller</div><div>=
* Matt Davis</div><div><br></div><div>and many thanks to all who have contr=
ibributed!</div><div>See: <a href=3D"https://github.com/yaml/pyyaml/pulls" =
target=3D"_blank">https://github.com/yaml/pyyaml/pulls</a></div><div><br></=
div><div><br></div><div>Copyright</div><div>=3D=3D=3D=3D=3D=3D=3D=3D=3D</di=
v><div><br></div><div>Copyright (c) 2017-2019 Ingy d=C3=B6t Net &lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;</div><div=
>Copyright (c) 2006-2016 Kirill Simonov &lt;<a href=3D"mailto:xi@resolvent.=
net" target=3D"_blank">xi-RCSp1WnSyaseIZ0/[email protected]</a>&gt;</div><div><br></div><div>Th=
e PyYAML module was written by Kirill Simonov &lt;<a href=3D"mailto:xi@reso=
lvent.net" target=3D"_blank">xi-RCSp1WnSyaseIZ0/[email protected]</a>&gt;.</div><div>It is curr=
ently maintained by the YAML and Python communities.</div><div><br></div><d=
iv>PyYAML is released under the MIT license.</div><div>See the file LICENSE=
 for more details.<br></div></div><div><br></div></div></div></div></div></=
div></div>

--000000000000af1d460583fcc520--


--===============1479470594259486890==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============1479470594259486890==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core

--===============1479470594259486890==--