[issue23811] Python py_compile error message inconsistent and missing newline

2015-04-14 Thread Berker Peksag
Berker Peksag added the comment: Thank you Alex. -- nosy: +berker.peksag resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ __

[issue23811] Python py_compile error message inconsistent and missing newline

2015-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 22790c4f3b16 by Berker Peksag in branch '2.7': Issue #23811: Add missing newline to the PyCompileError error message. https://hg.python.org/cpython/rev/22790c4f3b16 -- ___ Python tracker

[issue23811] Python py_compile error message inconsistent and missing newline

2015-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e139b3c489e by Berker Peksag in branch '3.4': Issue #23811: Add missing newline to the PyCompileError error message. https://hg.python.org/cpython/rev/1e139b3c489e New changeset d39fe1e112a3 by Berker Peksag in branch 'default': Issue #23811: Add m

[issue23811] Python py_compile error message inconsistent and missing newline

2015-04-07 Thread Alex Shkop
Alex Shkop added the comment: This patch adds new line symbol. For some reason py_compile module prints only SyntaxErrors with traceback. All other exceptions are printed with "Sorry:" and in one line. -- keywords: +patch nosy: +ashkop Added file: http://bugs.python.org/file38858/issue

[issue23811] Python py_compile error message inconsistent and missing newline

2015-03-30 Thread R. David Murray
Changes by R. David Murray : -- components: +Library (Lib) -Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23811] Python py_compile error message inconsistent and missing newline

2015-03-30 Thread R. David Murray
R. David Murray added the comment: I can confirm that the bugs is demonstrated by copying the text below into a normal unix text file. -- keywords: +easy nosy: +r.david.murray stage: -> needs patch type: enhancement -> behavior versions: +Python 3.5 ___

[issue23811] Python py_compile error message inconsistent and missing newline

2015-03-30 Thread Akshet Pandey
New submission from Akshet Pandey: On the following test file (test.py): ```python class Solution: def repeatedNumber(self, A): test = 1 return [] ``` Running python -m py_compile test.py return the following error message: Sorry: IndentationError: unexpected indent (test.py, line 6