Python stderr flush. stdin, and whenever exceptions occur it is written to sys.