Closed asheidan closed 10 years ago
Using dump with safe set to True causes an error
... File ".../lib/python2.7/site-packages/pyaml/__init__.py", line 135, in dump yaml.dump_all([data], buff, Dumper=Dumper, default_flow_style=False, encoding='utf-8') File ".../lib/python2.7/site-packages/yaml/__init__.py", line 186, in dump_all explicit_start=explicit_start, explicit_end=explicit_end) TypeError: __init__() got an unexpected keyword argument 'force_embed'
Yeah, totally a bug, probably caused by refactoring in f814824 and of course missed due to lack of tests of any kind. Thanks for pointing it out. Should be fixed in latest git and pypi versions.
Using dump with safe set to True causes an error