python now buffers output and error