[New-bugs-announce] [issue27048] Breakages in subprocess.Popen with non-ascii characters in environment
Emanuel Barry
report at bugs.python.org
Tue May 17 16:09:12 EDT 2016
New submission from Emanuel Barry:
I got a random UnicodeDecodeError while trying to install a module with distutils. Traced it back and it being my name having a non-ascii character floating around in my environment.
I'm including two patches: subprocess_errors_simple_1.patch simply adds 'errors="replace"' to the stdin, stdout and stderr, while subprocess_distutils_errors_1.patch fixes this a bit more thoroughly.
I haven't added any tests yet, I'll add them to the proper patch when a concensus on which one to use is reached.
----------
components: Library (Lib), Unicode
files: subprocess_errors_simple_1.patch
keywords: patch
messages: 265774
nosy: ebarry, ezio.melotti, haypo
priority: normal
severity: normal
stage: patch review
status: open
title: Breakages in subprocess.Popen with non-ascii characters in environment
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file42880/subprocess_errors_simple_1.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27048>
_______________________________________
More information about the New-bugs-announce
mailing list