changeset: 95642:d39fe1e112a3 parent: 95640:ae1528beae67 parent: 95641:1e139b3c489e user: Berker Peksag date: Tue Apr 14 18:58:45 2015 +0300 files: Lib/py_compile.py Misc/NEWS description: Issue #23811: Add missing newline to the PyCompileError error message. Patch by Alex Shkop. diff -r ae1528beae67 -r d39fe1e112a3 Lib/py_compile.py --- a/Lib/py_compile.py Tue Apr 14 11:44:40 2015 -0400 +++ b/Lib/py_compile.py Tue Apr 14 18:58:45 2015 +0300 @@ -179,7 +179,7 @@ except PyCompileError as error: # return value to indicate at least one failure rv = 1 - sys.stderr.write(error.msg) + sys.stderr.write("%s\n" % error.msg) return rv if __name__ == "__main__": diff -r ae1528beae67 -r d39fe1e112a3 Misc/NEWS --- a/Misc/NEWS Tue Apr 14 11:44:40 2015 -0400 +++ b/Misc/NEWS Tue Apr 14 18:58:45 2015 +0300 @@ -31,6 +31,9 @@ Library ------- +- Issue #23811: Add missing newline to the PyCompileError error message. + Patch by Alex Shkop. + - Issue #21116: Avoid blowing memory when allocating a multiprocessing shared array that's larger than 50% of the available RAM. Patch by Médéric Boquien.