Merged revisions 81359-81361 via svnmerge from
commit2d8c658f6591c26b2219e6bead524eaa9cbe1e45
authorvictor.stinner <victor.stinner@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 19 May 2010 20:30:19 +0000 (19 20:30 +0000)
committervictor.stinner <victor.stinner@6015fed2-1504-0410-9fe1-9d1591cc4771>
Wed, 19 May 2010 20:30:19 +0000 (19 20:30 +0000)
tree69d1dedf221419244f49e69b8540bbd769d7c430
parenta5e3b922e74ee82673e9a13b04e3a6fa028197c6
Merged revisions 81359-81361 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81359 | victor.stinner | 2010-05-19 19:00:07 +0200 (mer., 19 mai 2010) | 4 lines

  Issue #8663: distutils.log emulates backslashreplace error handler. Fix
  compilation in a non-ASCII directory if stdout encoding is ASCII (eg. if stdout
  is not a TTY).
........
  r81360 | victor.stinner | 2010-05-19 19:11:19 +0200 (mer., 19 mai 2010) | 5 lines

  regrtest.py: call replace_stdout() before the first call to print()

  print("==  ", os.getcwd()) fails if the current working directory is not ASCII
  whereas sys.stdout encoding is ASCII.
........
  r81361 | victor.stinner | 2010-05-19 19:15:50 +0200 (mer., 19 mai 2010) | 2 lines

  Oops, add the new test_log.py for distutils test suite (missing part of r81359)
........

git-svn-id: http://svn.python.org/projects/python/branches/release31-maint@81363 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/distutils/log.py
Lib/distutils/tests/test_log.py [new file with mode: 0644]
Lib/test/regrtest.py
Misc/NEWS