diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-04-14 18:58:45 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-04-14 18:58:45 +0300 |
commit | 012e287081f85feebe0a49c73de8b4a84f0a1b02 (patch) | |
tree | f76ca8a4e1d73dc5f49b1f726a5da0581d25f29b | |
parent | f887a6180ac374ab91d614584e26c0e30406f571 (diff) | |
parent | 34c9be7ebdc135e38914d161b028f5b56bf00642 (diff) | |
download | cpython-git-012e287081f85feebe0a49c73de8b4a84f0a1b02.tar.gz |
Issue #23811: Add missing newline to the PyCompileError error message.
Patch by Alex Shkop.
-rw-r--r-- | Lib/py_compile.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/py_compile.py b/Lib/py_compile.py index 166c4884f2..10c1ef56c9 100644 --- a/Lib/py_compile.py +++ b/Lib/py_compile.py @@ -179,7 +179,7 @@ def main(args=None): 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__": @@ -31,6 +31,9 @@ Core and Builtins 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. |