bpo-25588: Fix regrtest when run inside IDLE (#3962)
When regrtest in run inside IDLE, sys.stdout and sys.stderr are not TextIOWrapper objects and have no file descriptor associated: sys.stderr.fileno() raises io.UnsupportedOperation. Disable faulthandler and don't replace sys.stdout in that case.
V
Victor Stinner committed
ccef823939d4ef602f2d8d13d0bfec29eda597a5
Parent: 7f58097
Committed by GitHub <noreply@github.com>
on 10/13/2017, 7:59:12 PM