[issue24595] InteractiveInterpreter always prints to stdout
Terry J. Reedy
report at bugs.python.org
Sat Jul 11 10:16:25 CEST 2015
Terry J. Reedy added the comment:
To me, this cries out for a public context manager ( believe there is a public one in test.support, or something), so one can write
with stdout(ob):
print(stuff)
I am not sure, though, where the C.M.s should live.
----------
nosy: +terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24595>
_______________________________________
More information about the Python-bugs-list
mailing list