Martin Panter added the comment: The documentation already says that “stdout” and friends are meant to be text files, and that they may be replaced with file-like objects like StringIO. Perhaps the documentation could be more explicit about what text file API is required internally (either TextIOBase, or list the required subset of methods).
---------- assignee: -> docs@python components: +Documentation nosy: +docs@python, vadmium _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12020> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com