Issue 27904: Let logging format more messages on demand (original) (raw)

Vinay, this patch introduces regressions.

You can either revert this part:

--- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -329,8 +329,7 @@ class Command: # -- External world manipulation -----------------------------------

 def warn(self, msg):

or change the test suites to:

diff -r 1340e298aa7e Lib/distutils/tests/test_build_py.py --- a/Lib/distutils/tests/test_build_py.py Wed Aug 31 08:22:29 2016 +0100 +++ b/Lib/distutils/tests/test_build_py.py Wed Aug 31 16:59:27 2016 +0800 @@ -168,7 +168,8 @@ finally: sys.dont_write_bytecode = old_dont_write_bytecode

def test_suite(): diff -r 1340e298aa7e Lib/distutils/tests/test_install_lib.py --- a/Lib/distutils/tests/test_install_lib.py Wed Aug 31 08:22:29 2016 +0100 +++ b/Lib/distutils/tests/test_install_lib.py Wed Aug 31 16:59:27 2016 +0800 @@ -104,7 +104,8 @@ finally: sys.dont_write_bytecode = old_dont_write_bytecode

def test_suite():