Source

pyyaml / lib / yaml / representer.py

Author Commit Message Labels Comments Date
Kirill Simonov
Fix timestamp constructing and representing (close #25).
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
Fix a bug in Representer.represent_object: copy_reg.dispatch_table was not correctly handled.
Kirill Simonov
Revamp the inf/nan handling again.
Kirill Simonov
Dynamically determine the inf and nan values. Should fix #14. Thanks to Scott Daniels for the report and the patch.
Kirill Simonov
Add a way to override default style chosen by Representer: fix #9
Kirill Simonov
Kirill Simonov
Prepare setup.py for release. Fix #7.
Kirill Simonov
Sort object attributes.
Kirill Simonov
Add support for pickling/unpickling python objects.
Kirill Simonov
Fix bugs in emitter and representer.
Kirill Simonov
Add constructors for some simple python types.
Kirill Simonov
Refactor resolver.
Kirill Simonov
Major refactoring.
Kirill Simonov
Fix allow_unicode (ticket:3).
Kirill Simonov
Implement yaml.dump().