Issue #23811: Add missing newline to the PyCompileError error message.

Patch by Alex Shkop.
This commit is contained in:
Berker Peksag 2015-04-14 18:58:45 +03:00
commit 012e287081
2 changed files with 4 additions and 1 deletions

View File

@ -179,7 +179,7 @@ def main(args=None):
except PyCompileError as error: except PyCompileError as error:
# return value to indicate at least one failure # return value to indicate at least one failure
rv = 1 rv = 1
sys.stderr.write(error.msg) sys.stderr.write("%s\n" % error.msg)
return rv return rv
if __name__ == "__main__": if __name__ == "__main__":

View File

@ -31,6 +31,9 @@ Core and Builtins
Library 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 - 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. array that's larger than 50% of the available RAM. Patch by Médéric Boquien.