diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-10-13 12:59:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-13 12:59:12 -0700 |
commit | ccef823939d4ef602f2d8d13d0bfec29eda597a5 (patch) | |
tree | 652187dafdf3f4e16a1d9c865f0b10f20f84dfae /Python/fileutils.c | |
parent | 7f580970836b0f6bc9c5db868d95bea81a3e1558 (diff) | |
download | cpython-git-ccef823939d4ef602f2d8d13d0bfec29eda597a5.tar.gz |
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.
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions