From dff05e12978e07a7cdd3c4ce09f9c058aca2e7e3 Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Tue, 8 Jan 2019 18:34:04 +0100 Subject: close issue #272 YAML instances should be discarded on load/dump exception --- _doc/api.ryd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '_doc') diff --git a/_doc/api.ryd b/_doc/api.ryd index 1b4208d..a295565 100644 --- a/_doc/api.ryd +++ b/_doc/api.ryd @@ -94,6 +94,12 @@ Initially only the typical operations are supported, but in principle all functionality of the old interface will be available via ``YAML`` instances (if you are using something that isn't let me know). +If a parse or dump fails, and throws and exception, the state of the +`YAML()` instance is not guaranteed to be able to handle further +processing. You should, at that point to recreate the YAML instance before +proceeding. + + Loading +++++++ -- cgit v1.2.1