Martin Matusiak added the comment: Would it make sense for the logging module to supply something like the LoggerWriter class you wrote?
With a section in the documentation that says something like "have you been logging using print() this whole time? No problem, just do sys.stdout = LoggerWriter()"? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22195> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com