消息 [265774]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2016-05-17 20:09:12 | abarry | 修改 | recipients:
+ abarry, vstinner, ezio.melotti |
| 2016-05-17 20:09:12 | abarry | 修改 | messageid: <1463515752.85.0.457941663559.issue27048@psf.upfronthosting.co.za> |
| 2016-05-17 20:09:12 | abarry | 链接 | issue27048 messages |
| 2016-05-17 20:09:12 | abarry | 创建 | |
|