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 abarry
Recipients abarry, ezio.melotti, vstinner
Date 2016-05-17.20:09:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463515752.85.0.457941663559.issue27048@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-05-17 20:09:12abarrysetrecipients: + abarry, vstinner, ezio.melotti
2016-05-17 20:09:12abarrysetmessageid: <1463515752.85.0.457941663559.issue27048@psf.upfronthosting.co.za>
2016-05-17 20:09:12abarrylinkissue27048 messages
2016-05-17 20:09:12abarrycreate