Source

pyyaml / tests / data / duplicate-mapping-key.former-loader-error.code

Author Commit Message Labels Comments Date
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…