Message326442
I don't understand this bug report.
"./python -m test test_distutils -v -m test_non_ascii" pass in 3.6, 3.7 and master branches.
> two distutils tests fail when running the tests from an installed location. 3.7 branch 20180925, succeeded with a 20180911 snapshot.
I don't know what are these branches.
I tested the v3.7.0 test: "./python -m test test_distutils -v -m test_non_ascii" pass as well. It seems like you tested something between 3.7.0 and the current 3.7 branch.
I suggest you to wait for the 3.7.1 release which should be release next weeks.
--
distutils/log.py evolved a lot. The code now uses:
try:
stream.write('%s\n' % msg)
except UnicodeEncodeError:
# emulate backslashreplace error handler
encoding = stream.encoding
msg = msg.encode(encoding, "backslashreplace").decode(encoding)
stream.write('%s\n' % msg)
Your traceback shows a stream.write() call on line 34, which isn't the case on the current 3.7 branch. So you are testing an outdated 3.7 commit. |
|
Date |
User |
Action |
Args |
2018-09-26 11:18:54 | vstinner | set | recipients:
+ vstinner, doko, ncoghlan, eric.araujo, serhiy.storchaka, steve.dower, dstufft, xtreak |
2018-09-26 11:18:54 | vstinner | set | messageid: <1537960734.72.0.545547206417.issue34806@psf.upfronthosting.co.za> |
2018-09-26 11:18:54 | vstinner | link | issue34806 messages |
2018-09-26 11:18:54 | vstinner | create | |
|