We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e22c495 commit ccff7c5Copy full SHA for ccff7c5
1 file changed
Lib/_pyrepl/main.py
@@ -11,6 +11,8 @@
11
raise RuntimeError("Windows 10 TH2 or later required")
12
if not os.isatty(sys.stdin.fileno()):
13
raise OSError(errno.ENOTTY, "tty required", "stdin")
14
+ if not os.isatty(sys.stdout.fileno()):
15
+ raise OSError(errno.ENOTTY, "tty required", "stdout")
16
from .simple_interact import check
17
if err := check():
18
raise RuntimeError(err)
0 commit comments