STINNER Victor added the comment: Hi,
> I got a random UnicodeDecodeError while trying to install a module with > distutils. Please provide more context to your issue: * What is your operating system? * What is your locale? (locale encoding on UNIX, ANSI and OEM code pages on Windows) * Where does the data come from? * etc. > subprocess_errors_simple_1.patch I don't think that it's ok to change the *default* error handler in the subprocess module. Adding encoding/errors parameters to subprocess.Popen is an old topic: see for example the issue #6135. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27048> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com