Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #3076

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

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ingy dot Net <ingy@ingy.net>
Newsgroups comp.lang.python.announce
Subject [ANN] PyYAML-5.1: YAML parser and emitter for Python
Date Wed, 13 Mar 2019 10:02:24 -0700
Lines 154
Approved python-announce-list@python.org
Message-ID <mailman.92.1552565895.20971.python-announce-list@python.org> (permalink)
References <CAHJtQJ5uLUfWZs0QgQLzM2rfT+bnBgo_Fv9w4+ms3mZziA3UTg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de aqx4VLoZ8I8qzklOw2QfgQQ7wjOiqTkLHIlSwMhdaQoA==
Return-Path <ingy@ingy.net>
X-Original-To python-announce@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url-ip:192.30/16': 0.03; 'pip': 0.03; 'url:github': 0.04; 'fails': 0.05; 'languages.': 0.05; 'parser': 0.05; 'skip:& 30': 0.05; 'subject:ANN': 0.05; 'url-ip:192.30.253.112/32': 0.05; 'url-ip:192.30.253.113/32': 0.05; 'url-ip:192.30.253/24': 0.05; "'',": 0.07; 'arbitrary': 0.07; 'execution': 0.07; 'irc': 0.07; 'messages.': 0.07; 'pickle': 0.07; 'url-ip:129/8': 0.07; '>>>': 0.08; "'name':": 0.09; 'binary': 0.09; 'compilation': 0.09; 'object.': 0.09; 'received:209.85.166.180': 0.09; 'received:mail- it1-f180.google.com': 0.09; 'scripting': 0.09; 'sorting': 0.09; 'subject:parser': 0.09; 'travis': 0.09; 'url-ip:139.162/16': 0.09; 'url-ip:139/8': 0.09; 'url:pypi': 0.09; 'workaround': 0.09; 'subject:Python': 0.10; 'python': 0.13; 'bug': 0.16; '""")': 0.16; '===========': 0.16; 'api,': 0.16; 'changelog': 0.16; 'colon': 0.16; 'commented': 0.16; 'escaped': 0.16; 'fallback': 0.16; 'hashable': 0.16; 'homepage:': 0.16; 'license.': 0.16; 'literals': 0.16; 'readme': 0.16; 'typos': 0.16; 'unsupported': 0.16; 'url:111': 0.16; 'url:detail': 0.16; 'url:pull': 0.16; 'python.': 0.17; 'context': 0.18; 'extension': 0.18; 'url:wiki': 0.18; 'module': 0.19; 'maintaining': 0.19; 'object': 0.21; 'subject:] ': 0.21; 'import': 0.22; 'error': 0.23; 'url-ip:151.101.0.223/32': 0.23; 'url-ip:151.101.128.223/32': 0.23; 'url- ip:151.101.192.223/32': 0.23; 'url-ip:151.101.64.223/32': 0.23; 'github': 0.24; 'list:': 0.24; 'install': 0.24; '...': 0.25; "skip:' 20": 0.25; 'running': 0.25; 'classes': 0.26; 'url:lists': 0.26; 'url:listinfo': 0.26; 'url-ip:151.101.192/24': 0.26; 'url- ip:151.101.0/24': 0.27; 'url-ip:151.101.128/24': 0.27; 'url- ip:151.101.64/24': 0.27; 'specifically': 0.29; '&gt;&gt;&gt;': 0.29; '2.6': 0.29; 'interaction': 0.29; 'maintained': 0.29; 'matt': 0.29; 'see:': 0.29; 'url-ip:216.105.38/24': 0.29; 'url- ip:216.105/16': 0.29; 'url:sourceforge': 0.29; 'issue': 0.29; 'example': 0.30; 'subject:[': 0.31; 'fix': 0.31; 'url- ip:151.101/16': 0.31; 'url-ip:151/8': 0.31; 'message- id:@mail.gmail.com': 0.32; 'to:no real name:2**1': 0.32; '(c)': 0.33; 'addresses': 0.33; 'file': 0.33; 'code': 0.33; 'windows': 0.34; 'source': 0.34; 'mailing': 0.34; 'received:google.com': 0.34; 'subject:: ': 0.35; 'files': 0.36; '(see': 0.36; '....': 0.36; 'url-ip:195/8': 0.36; 'written': 0.37; 'remove': 0.63; 'url- ip:162/8': 0.63; '&amp;': 0.64; 'released': 0.64; 'improve': 0.64; 'skip:o 10': 0.64; 'details.': 0.66; 'document': 0.66; 'call': 0.66; 'features': 0.66; 'tags': 0.66; 'url:63': 0.66; 'quotes': 0.67; 'skip:y 30': 0.67; 'maintenance': 0.68; 'capable': 0.68; 'complete': 0.69; 'below,': 0.72; 'url-ip:lookup error': 0.73; 'announcing': 0.74; 'by:': 0.75; 'tasks': 0.75; 'license': 0.80; '3.12': 0.84; '============': 0.84; 'available:': 0.84; 'davis': 0.84; 'url:105': 0.84; 'url:59': 0.84; 'url:65': 0.84; 'url:76': 0.84; 'url:84': 0.84; 'url:nist': 0.84; 'wheel': 0.84; 'url- ip:162.213/16': 0.91; 'channels': 0.95; 'to:addr:python-announce': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=ingy-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=5NxYfOKud3B5kg6NFKADc7rizbdGdYmnKuw3wseuQEA=; b=YP/gHfp+GHKBOQ0Bu+vGSiQHhWpB8CxlceFzuexKy2H80WMhoTBhFApHpuu++GGGYf TiDIVBIJ8t9pN/a5BlHFXO6fZnuf2fAf8qtPnkZQtheNdaKxJYzsmQ7M3/hmX6ChlsZO 6awVbnoaGtquO++ObCHTz/0HQ9gtW8x7hqTQrEv+rSld0cMIS/UGr8we307AOpX0pmXE JLA1uUVkOn56tqbjPzkMjcg8kLUwZsX5qVw25EtR78B6nISwe714apJS3jBmE0sWUEEb x1/zzzq4ArrhEcZPyTyEy86GsCUBm7hQJBY1LanT+jmb6tCDfXaJMTWATwH6Cgd873mk EvGA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5NxYfOKud3B5kg6NFKADc7rizbdGdYmnKuw3wseuQEA=; b=ZzzhT+GcEBRfcsdSGQpbgym4/XZlzKFeDEXb112Fg0xc9ijtMFQxmTOxlggaM489DK VjnGExdwTmRHNOyNmJs8aGVPm9lmPl1uouIjmM78vD5Mym3oc0VT99rqhL5TvwB4lSaU 22Irn8dAdbgEiNNIE4FNGw8ANM8GU9x1O9RAJ2YoSRPHjXIUmWrxSdI2gGyC1Nr1tQ2i DHupez5QN1vlTTDeyJTNADjJWlFQPsa+CrYEpChY8oi0Uz5K16W9JFegYRU485GCqGlm X/qJyV95863qmrdNMwjJJPi0vH29+IEaUI3qypuL6uZ9B/9EF5t8C0LLWJ2sZUlx18Ld iz2Q==
X-Gm-Message-State APjAAAX9SnJKY700oc8Im1Qh9rX7OJ2rqCIH17P9N9pnaMnfQnELpN1N kUhR7DgAjzz7sfPT5YcZ8Q09SFp5Ma+CbIFAn0g8Ag==
X-Google-Smtp-Source APXvYqw5B6pC5ElhVzmQEUwdq2ddTk6YMdbRm37REH2rUhYRyxSrkQzc7F25YPBGCTwoS0w6gx/6zKOQ4b7nF6s+jic=
X-Received by 2002:a24:c8c1:: with SMTP id w184mr2468557itf.135.1552496555127; Wed, 13 Mar 2019 10:02:35 -0700 (PDT)
X-Mailman-Approved-At Thu, 14 Mar 2019 08:18:12 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.29
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.29
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAHJtQJ5uLUfWZs0QgQLzM2rfT+bnBgo_Fv9w4+ms3mZziA3UTg@mail.gmail.com>
Xref csiph.com comp.lang.python.announce:3076

Show key headers only | View raw


=======================
 Announcing PyYAML-5.1
=======================

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 the
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)-Deprecation
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
=======

* 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 code
* 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=False
* 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
=========

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
============

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 standard
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
=======

>>> 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
===========

The following people are currently responsible for maintaining PyYAML:

* Ingy döt Net
* Tina Mueller
* Matt Davis

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


Copyright
=========

Copyright (c) 2017-2019 Ingy döt Net <ingy@ingy.net>
Copyright (c) 2006-2016 Kirill Simonov <xi@resolvent.net>

The PyYAML module was written by Kirill Simonov <xi@resolvent.net>.
It is currently maintained by the YAML and Python communities.

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

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

[ANN] PyYAML-5.1: YAML parser and emitter for Python Ingy dot Net <ingy@ingy.net> - 2019-03-13 10:02 -0700

csiph-web