Hello.
It looks just wrong as texts should be normally printed on stdout, and only sometimes, in case of error, standard error should be used instead. This is changed with r3324. output(... toStdout = True) occurs only 11 times, and there is a total of 1270 calls to output function.