PyYAML Changelog

What's new in PyYAML 3.09

Oct 6, 2009
  • Fixed use of uninitialized memory when emitting anchors with LibYAML bindings (Thank to cegner(at)yahoo-inc(dot)com).
  • Fixed emitting incorrect BOM characters for UTF-16 (Thank to Valentin Nechayev)
  • Fixed the emitter for folded scalars not respecting the preferred line width (Thank to Ingy).
  • Fixed a subtle ordering issue with emitting %TAG directives (Thank to Andrey Somov).
  • Fixed performance regression with LibYAML bindings.

New in PyYAML 3.08 (Feb 19, 2009)

  • Python 3 support (Thank to Erick Tryzelaar).
  • Use Cython instead of Pyrex to build LibYAML bindings.
  • Refactored support for unicode and byte input/output streams.

New in PyYAML 3.07 (Dec 29, 2008)

  • The emitter learned to use an optional indentation indicator for block scalar; thus scalars with leading whitespaces could now be represented in a literal or folded style.
  • The test suite is now included in the source distribution. To run the tests, type python setup.py test.
  • Refactored the test suite: dropped unittest in favor of a custom test appliance.
  • Fixed the path resolver in CDumper.
  • Forced an explicit document end indicator when there is a possibility of parsing ambiguity.
  • More setup.py improvements: the package should be usable when any combination of setuptools, Pyrex and LibYAML is installed.
  • Windows binary packages are built against LibYAML-0.1.2.
  • Minor typos and corrections. Thank to Ingy dot Net and Andrey Somov.

New in PyYAML 3.06 (Oct 7, 2008)

  • setup.py checks whether LibYAML is installed and if so, builds and installs LibYAML bindings. To force or disable installation of LibYAML bindings, use --with-libyaml or --without-libyaml respectively (partially fixes #34).
  • Building LibYAML bindings no longer requires Pyrex installed (fixed #33).
  • yaml.load() raises an exception if the input stream contains more than one YAML document (fixed #54).
  • Fixed exceptions produced by LibYAML bindings (fixed #50).
  • Fixed a dot '.' character being recognized as !!float (fixed #62).
  • Fixed Python 2.3 compatibility issue in constructing !!timestamp values.
  • Windows binary packages are built against the LibYAML stable branch.
  • Added attributes yaml.__version__ and yaml.__with_libyaml__ (fixed #85).