Commit graph

8 commits

Author SHA1 Message Date
wiz
b260457da3 Set LICENSE to mit. 2009-08-09 09:37:00 +00:00
wiz
665e0458d2 Update to 3.08, depend on libyaml.
3.08 (2008-12-31)
-----------------

* 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.

3.07 (2008-12-29)
-----------------

* 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).


3.06 (2008-10-03)
-----------------

* 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.
* The source distribution includes compiled Pyrex sources so
  building LibYAML bindings no longer requires Pyrex installed.
* 'yaml.load()' raises an exception if the input stream contains
  more than one YAML document.
* Fixed exceptions produced by LibYAML bindings.
* Fixed a dot '.' character being recognized as !!float.
* 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__'.
2009-08-09 09:33:11 +00:00
joerg
73ae0afd90 Remove @dirrm entries from PLISTs 2009-06-14 18:17:11 +00:00
joerg
b9d9951b4c Supports DESTDIR 2008-05-08 18:32:19 +00:00
joerg
a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00
wiz
2aa9780f23 Update to 3.05:
3.05 (2007-05-13)

* Allow for immutable subclasses of YAMLObject. Fixed #53.
* Make the encoding of the unicode->str conversion explicit; fixed #52.
* Fixed a problem when the DOCUMENT-END event is not emitted until
  the beginning of the next document is available. Fixed #51. Thanks
  edward(at)sweetbytes.net for the bug report.
* Improve output of float values. Fixed #49.
* Fix the bug when the path in add_path_resolver contains boolean
  values. Fixed #43 (thanks to jstroud(at)mbi.ucla.edu for reporting
  and pointing to the cause).
* Use the types module instead of constructing type objects by
  hand. Fixed #41. Thanks to v.haisman(at)sh.cvut.cz for the patch.
* Fix loss of microsecond precision in datetime.datetime constructor
  (fix #30). Thanks to edemaine(at)mit.edu for the bug report and the patch.
* Fixed loading an empty YAML stream.

3.04 (2006-08-20)

* Include experimental LibYAML bindings.
* Fully support recursive structures (close #5).
* Sort dictionary keys (close #23). Mapping node values are now
  represented as lists of pairs instead of dictionaries. Do not
  check for duplicate mapping keys as it didn't work correctly
  anyway.
* Fix invalid output of single-quoted scalars in cases when a single
  quote is not escaped when preceeded by whitespaces or line breaks
  (close #17).
* To make porting easier, rewrite Parser not using generators.
* Fix handling of unexpected block mapping values, like

: foo

* Fix a bug in Representer.represent_object: copy_reg.dispatch_table
  was not correctly handled.
* Fix a bug when a block scalar is incorrectly emitted in the simple
  key context.
* Hold references to the objects being represented (close #22).
* Make Representer not try to guess !!pairs when a list is represented.
* Fix timestamp constructing and representing (close #25).
* Fix the 'N' plain scalar being incorrectly recognized as !!bool (close #26).
2007-07-01 00:06:46 +00:00
joerg
1b00d00268 Nuke some whitespace. 2006-08-20 16:25:42 +00:00
joerg
922cc0c756 Import textproc/py-yaml. From DESCR:
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 persistance.
2006-08-02 10:05:35 +00:00