Source

pyyaml / lib / yaml / composer.py

Author Commit Message Labels Comments Date
Kirill Simonov
Completely rewrite the libyaml bindings.
Kirill Simonov
Subclass all base classes from `object`. Hold references to the objects being represented (should fix #22). The value of a mapping node is represented as a list of pairs `(key, value)` now. Sort dictionary items (fix #23). Recursive structures are now loaded and dumped correctly, including complex structures like recursive tuples (fix #5). Thanks Peter Murphy for the patches. To make it possible, representer functions are allowed to b…
Kirill Simonov
To make porting easier, rewrite Parser not using generators. Fix handling of unexpected block mapping values, like {{{ : foo }}} Remove obsolete and unused {{{__iter__}}} functions.
Kirill Simonov
Add support for recursive nodes to Composer. Constructor does not support recursive objects though.
Kirill Simonov
Refactor resolver.
Kirill Simonov
Major refactoring.
Kirill Simonov
Implement yaml.dump().
Kirill Simonov
Emitter is done!!!
Kirill Simonov
Add style information to events generated by Parser.
Kirill Simonov
* Add the token STREAM-START. * Add parsing events: STREAM-START, DOCUMENT-START, DOCUMENT-END.
Kirill Simonov
Back to work :). Rename markers to marks.
Kirill Simonov
Move pyyaml3000 to a separate directory.