summaryrefslogtreecommitdiff
path: root/textproc/py-yaml
AgeCommit message (Collapse)AuthorFilesLines
2008-05-08Supports DESTDIRjoerg1-1/+3
2008-04-25Update PYTHON_VERSIONS_COMPATIBLEjoerg1-2/+1
- 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.
2007-07-01Update to 3.05:wiz3-8/+11
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).
2006-08-20Nuke some whitespace.joerg1-2/+2
2006-08-02Import textproc/py-yaml. From DESCR:joerg4-0/+83
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.