Lines Matching refs:stdout
45 support.record_original_stdout(sys.stdout)
115 """Set stdout encoder error handler to backslashreplace (as stderr error
117 stdout = sys.stdout
119 fd = stdout.fileno()
121 # On IDLE, sys.stdout has no file descriptor and is not a TextIOWrapper
122 # object. Leaving sys.stdout unchanged.
128 sys.stdout = open(fd, 'w',
129 encoding=stdout.encoding,
135 sys.stdout.close()
136 sys.stdout = stdout