Source

pyyaml / tests / test_recursive.py

Author Commit Message Labels Comments Date
Kirill Simonov
Minor 2.3 and win32 compatibility fixes; clarify the 'feature not found' message in setup.py.
Tags
3.07
Kirill Simonov
Refactored the test suite; updated include and library paths in setup.cfg.
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
Add support for recursive nodes to Composer. Constructor does not support recursive objects though.