• Pau Gargallo's avatar
    Decode message only if encoding is known · 05e24715
    Pau Gargallo authored
    When python does not know the encoding of stdout, sys.stdout.encoding
    is None.  Then calling decode(None) raises an exception.  We just
    skip decoding when the encoding is unknown.
    05e24715
setup.py 17.7 KB