Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix call logging by unbuffering stdout/err in call threadpool (#724)
Because we started running method calls in a threadpool, the output was buffered and only flushed/printed at the end (https://stackoverflow.com/questions/18234469/python-multithreaded-print-statements-delayed-until-all-threads-complete-executi). This changes the StreamTee utility we use to print stdout/logging to flush on each write, per https://mail.python.org/pipermail/tutor/2003-November/026645.html
- Loading branch information