diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-10-13 20:42:27 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-10-13 20:42:27 (GMT) |
commit | 6234e9068332f61f935cf13fa5b1a924a99c28b2 (patch) | |
tree | b1da80d2896ac67e5b1015dd5717fa4f98277a9c /Doc/library | |
parent | fdf151bbfbd5aed7c860ff212faf711a270544f3 (diff) | |
download | cpython-6234e9068332f61f935cf13fa5b1a924a99c28b2.zip cpython-6234e9068332f61f935cf13fa5b1a924a99c28b2.tar.gz cpython-6234e9068332f61f935cf13fa5b1a924a99c28b2.tar.bz2 |
[3.6] bpo-25588: Fix regrtest when run inside IDLE (GH-3962) (#3987)
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.
(cherry picked from commit ccef823939d4ef602f2d8d13d0bfec29eda597a5)
Diffstat (limited to 'Doc/library')
0 files changed, 0 insertions, 0 deletions