Browse Source

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

Patch by Alex Shkop.
pull/9921/head
Berker Peksag 11 years ago
parent
commit
012e287081
  1. 2
      Lib/py_compile.py
  2. 3
      Misc/NEWS

2
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__":

3
Misc/NEWS

@ -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.

Loading…
Cancel
Save