c97895e0ff
It uses parameters that are not present in Python 3.6, plus it catches generic exception, which may not have `stdout` or `stderr` members.