Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
34c9be7e
Commit
34c9be7e
authored
Apr 14, 2015
by
Berker Peksag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23811: Add missing newline to the PyCompileError error message.
Patch by Alex Shkop.
parent
b3c30d91
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/py_compile.py
Lib/py_compile.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/py_compile.py
View file @
34c9be7e
...
@@ -178,7 +178,7 @@ def main(args=None):
...
@@ -178,7 +178,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__"
:
...
...
Misc/NEWS
View file @
34c9be7e
...
@@ -29,6 +29,9 @@ Core and Builtins
...
@@ -29,6 +29,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 #22982: Improve BOM handling when seeking to multiple positions of
- Issue #22982: Improve BOM handling when seeking to multiple positions of
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment