It eliminates warnings about using unsafe yaml.load(), which was added
to a recent versions of pyyaml. We don't construct Python classes
directly according to yaml tags, so safe_load() fit our needs.
There is even more serious reason to replace yaml.load() usages. In
Gentoo Linux (on recent pyyaml) a call to yaml.load() w/o an explicit
loader causes RuntimeError; see 1.
It eliminates warnings about using unsafe yaml.load(), which was added to a recent versions of pyyaml. We don't construct Python classes directly according to yaml tags, so safe_load() fit our needs.
There is even more serious reason to replace yaml.load() usages. In Gentoo Linux (on recent pyyaml) a call to yaml.load() w/o an explicit loader causes RuntimeError; see 1.