| 1 | From: Kirill Simonov <xi@gamma.dn.ua> |
|---|
| 2 | To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net |
|---|
| 3 | Subject: [ANN] PyYAML-3.09: YAML parser and emitter for Python |
|---|
| 4 | |
|---|
| 5 | ======================== |
|---|
| 6 | Announcing PyYAML-3.09 |
|---|
| 7 | ======================== |
|---|
| 8 | |
|---|
| 9 | A new bug fix release of PyYAML is now available: |
|---|
| 10 | |
|---|
| 11 | http://pyyaml.org/wiki/PyYAML |
|---|
| 12 | |
|---|
| 13 | Note that PyYAML supports both Python 2 and Python 3. For |
|---|
| 14 | compatibility notes, please see |
|---|
| 15 | |
|---|
| 16 | http://pyyaml.org/wiki/PyYAMLDocumentation#Python3support |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | Changes |
|---|
| 20 | ======= |
|---|
| 21 | |
|---|
| 22 | * Fixed use of uninitialized memory when emitting anchors with |
|---|
| 23 | LibYAML bindings (Thank to cegner(at)yahoo-inc(dot)com). |
|---|
| 24 | * Fixed emitting incorrect BOM characters for UTF-16 (Thank to |
|---|
| 25 | Valentin Nechayev) |
|---|
| 26 | * Fixed the emitter for folded scalars not respecting the preferred |
|---|
| 27 | line width (Thank to Ingy). |
|---|
| 28 | * Fixed a subtle ordering issue with emitting '%TAG' directives |
|---|
| 29 | (Thank to Andrey Somov). |
|---|
| 30 | * Fixed performance regression with LibYAML bindings. |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | Resources |
|---|
| 34 | ========= |
|---|
| 35 | |
|---|
| 36 | PyYAML homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 37 | PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation |
|---|
| 38 | |
|---|
| 39 | TAR.GZ package: http://pyyaml.org/download/pyyaml/PyYAML-3.09.tar.gz |
|---|
| 40 | ZIP package: http://pyyaml.org/download/pyyaml/PyYAML-3.09.zip |
|---|
| 41 | Windows installers: |
|---|
| 42 | http://pyyaml.org/download/pyyaml/PyYAML-3.09.win32-py2.3.exe |
|---|
| 43 | http://pyyaml.org/download/pyyaml/PyYAML-3.09.win32-py2.4.exe |
|---|
| 44 | http://pyyaml.org/download/pyyaml/PyYAML-3.09.win32-py2.5.exe |
|---|
| 45 | http://pyyaml.org/download/pyyaml/PyYAML-3.09.win32-py2.6.exe |
|---|
| 46 | http://pyyaml.org/download/pyyaml/PyYAML-3.09.win32-py3.0.exe |
|---|
| 47 | http://pyyaml.org/download/pyyaml/PyYAML-3.09.win32-py3.1.exe |
|---|
| 48 | |
|---|
| 49 | PyYAML SVN repository: http://svn.pyyaml.org/pyyaml |
|---|
| 50 | Submit a bug report: http://pyyaml.org/newticket?component=pyyaml |
|---|
| 51 | |
|---|
| 52 | YAML homepage: http://yaml.org/ |
|---|
| 53 | YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-core |
|---|
| 54 | |
|---|
| 55 | |
|---|
| 56 | About PyYAML |
|---|
| 57 | ============ |
|---|
| 58 | |
|---|
| 59 | YAML is a data serialization format designed for human readability and |
|---|
| 60 | interaction with scripting languages. PyYAML is a YAML parser and |
|---|
| 61 | emitter for Python. |
|---|
| 62 | |
|---|
| 63 | PyYAML features a complete YAML 1.1 parser, Unicode support, pickle |
|---|
| 64 | support, capable extension API, and sensible error messages. PyYAML |
|---|
| 65 | supports standard YAML tags and provides Python-specific tags that allow |
|---|
| 66 | to represent an arbitrary Python object. |
|---|
| 67 | |
|---|
| 68 | PyYAML is applicable for a broad range of tasks from complex |
|---|
| 69 | configuration files to object serialization and persistance. |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | Example |
|---|
| 73 | ======= |
|---|
| 74 | |
|---|
| 75 | >>> import yaml |
|---|
| 76 | |
|---|
| 77 | >>> yaml.load(""" |
|---|
| 78 | ... name: PyYAML |
|---|
| 79 | ... description: YAML parser and emitter for Python |
|---|
| 80 | ... homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 81 | ... keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| 82 | ... """) |
|---|
| 83 | {'keywords': ['YAML', 'serialization', 'configuration', 'persistance', |
|---|
| 84 | 'pickle'], 'homepage': 'http://pyyaml.org/wiki/PyYAML', 'description': |
|---|
| 85 | 'YAML parser and emitter for Python', 'name': 'PyYAML'} |
|---|
| 86 | |
|---|
| 87 | >>> print yaml.dump(_) |
|---|
| 88 | name: PyYAML |
|---|
| 89 | homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 90 | description: YAML parser and emitter for Python |
|---|
| 91 | keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| 92 | |
|---|
| 93 | |
|---|
| 94 | Copyright |
|---|
| 95 | ========= |
|---|
| 96 | |
|---|
| 97 | The PyYAML module is written by Kirill Simonov <xi@resolvent.net>. |
|---|
| 98 | |
|---|
| 99 | PyYAML is released under the MIT license. |
|---|
| 100 | |
|---|