This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jkloth
Recipients dstufft, eric.araujo, jkloth, julien.malard, miss-islington, serhiy.storchaka
Date 2018-09-10.02:57:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536548277.78.0.56676864532.issue34421@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-09-10 02:57:57jklothsetrecipients: + jkloth, eric.araujo, serhiy.storchaka, dstufft, miss-islington, julien.malard
2018-09-10 02:57:57jklothsetmessageid: <1536548277.78.0.56676864532.issue34421@psf.upfronthosting.co.za>
2018-09-10 02:57:57jklothlinkissue34421 messages
2018-09-10 02:57:57jklothcreate