3 Explanation on pedantry

load and dump have two modes of operation: pedantic and non-pedantic.

A non-pedantic load or dump does not ensure that the operation will not raise an exception (such as a SyntaxError because of an unparsable buffer during a load), only that the level of tolerance to the minor problems just described will be greater.