safe_dump produces only standard YAML tags and cannot represent an arbitrary Python object. Reported-by: Mr Jenkins Signed-off-by: Andrei Vagin <[email protected]>