[issue12403] Mention sys.displayhook in code module docs and the compile builtin docs

R. David Murray report at bugs.python.org
Sat Jun 25 18:23:21 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Well, sys.stdout and sys.stderr don't have to be real file objects.  You could substitute a file-like object (one that implements the methods that get called during the interpretation loop) that does your multiplexing.  That kind of trick is one of the things that makes Python so much fun to work with :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12403>
_______________________________________


More information about the Python-bugs-list mailing list