Message324907
For pip, in call_subprocess() (given here in rough pseudo-code)
is_python = (cmd[0] == sys.executable)
kwds = {}
if is_python:
env['PYTHONIOENCODING'] = 'utf8'
kwds['encoding'] = 'utf8'
proc = Popen(..., **kwds)
.
.
.
if stdout is not None:
while True:
line = proc.stdout.readline()
# When running Python, the output is already Unicode
if not is_python:
line = console_to_str(line)
if not line:
break
Hopefully, there is enough context to figure out the exact placement. |
|
Date |
User |
Action |
Args |
2018-09-10 02:57:57 | jkloth | set | recipients:
+ jkloth, eric.araujo, serhiy.storchaka, dstufft, miss-islington, julien.malard |
2018-09-10 02:57:57 | jkloth | set | messageid: <1536548277.78.0.56676864532.issue34421@psf.upfronthosting.co.za> |
2018-09-10 02:57:57 | jkloth | link | issue34421 messages |
2018-09-10 02:57:57 | jkloth | create | |
|