]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-118158: Fix missing newline in py_compile CLI error output (#149008)
authorXiao Yuan <yuanx749@gmail.com>
Tue, 16 Jun 2026 16:41:52 +0000 (19:41 +0300)
committerGitHub <noreply@github.com>
Tue, 16 Jun 2026 16:41:52 +0000 (09:41 -0700)
commit7edcaedc533df437101fd0d40a9c857c7671277a
treec8c61e124a5d7dd6558a78e6c9b045f7d8fc9e88
parent627adb517f71b16273845fa47acee72b2ea372a0
gh-118158: Fix missing newline in py_compile CLI error output (#149008)

Restore trailing newline in error messages from `python -m py_compile`,
lost when `main()` was refactored to use argparse.
Lib/py_compile.py
Lib/test/test_py_compile.py
Misc/NEWS.d/next/Library/2026-04-26-11-25-38.gh-issue-118158.xIy05H.rst [new file with mode: 0644]