stefanholek <ste...@epy.co.at> added the comment: Thank you Antoine, this looks good.
However when I try your example I get sys.stdin = io.TextIOWrapper( sys.stdin.detach(), 'ascii', 'replace') ValueError: underlying buffer has been detached </helpforum> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13342> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com