Make compose() and load() ensure that the input stream contains a single document...
commit1fa53636429d4be3f24a933c47592ed48dd6bc08
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>
Tue, 21 Aug 2007 20:25:34 +0000 (21 20:25 +0000)
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>
Tue, 21 Aug 2007 20:25:34 +0000 (21 20:25 +0000)
tree40219732594b801f2f2314525bb3c780f903049d
parentd9f18f734cff972dcacc26dd1eae96110874aea2
Make compose() and load() ensure that the input stream contains a single document.  Fixes #54.

git-svn-id: http://svn.pyyaml.org/pyyaml/trunk@258 18f92427-320e-0410-9341-c67f048884a3
ext/_yaml.pyx
lib/yaml/__init__.py
lib/yaml/composer.py
lib/yaml/constructor.py
tests/data/empty-documents.single-loader-error [new file with mode: 0644]
tests/data/explicit-document.single-loader-error [new file with mode: 0644]
tests/data/implicit-document.single-loader-error [new file with mode: 0644]
tests/test_errors.py