Commit 1bc53c6e authored by Berker Peksag's avatar Berker Peksag

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

Patch by Alex Shkop.
parent a5e27c61
...@@ -163,7 +163,7 @@ def main(args=None): ...@@ -163,7 +163,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__":
......
...@@ -21,6 +21,9 @@ Core and Builtins ...@@ -21,6 +21,9 @@ Core and Builtins
Library 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 #17898: Fix exception in gettext.py when parsing certain plural forms.
- Issue #23865: close() methods in multiple modules now are idempotent and more - Issue #23865: close() methods in multiple modules now are idempotent and more
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment