Also, this patch fixes the leaks of error messages from the Python 3 checker when the errors mode was activated. Closes issue #437.