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

Patch by Alex Shkop.
This commit is contained in:
Berker Peksag 2015-04-14 19:03:06 +03:00
parent a5e27c6101
commit 1bc53c6e0b
2 changed files with 4 additions and 1 deletions

View File

@ -163,7 +163,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__":

View File

@ -21,6 +21,9 @@ Core and Builtins
Library
-------
- Issue #23811: Add missing newline to the PyCompileError error message.
Patch by Alex Shkop.
- Issue #17898: Fix exception in gettext.py when parsing certain plural forms.
- Issue #23865: close() methods in multiple modules now are idempotent and more