STINNER Victor added the comment: > Why do you need to call getpreferredencoding()?
I proposed to do that, but I prefer your simple flag: > text_mode = encoding or errors or universal_newlines Steve: please use this simpler flag to avoid TextIOWrapper details in subprocess.py ;-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6135> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com