This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [rfc patch+7.11] gdb-gdb.py: SyntaxError: Missing parentheses in call to 'print'
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 22 Feb 2016 17:20:16 +0100
- Subject: [commit] [rfc patch+7.11] gdb-gdb.py: SyntaxError: Missing parentheses in call to 'print'
- Authentication-results: sourceware.org; auth=none
- References: <20160222155646 dot GA1869 at host1 dot jankratochvil dot net> <56CB337B dot 3060606 at ericsson dot com>
On Mon, 22 Feb 2016 17:12:43 +0100, Simon Marchi wrote:
> That means Python notices the error at parse time, not execution time. It could
> very well be that you don't see the warning because that line is not actually
> executed.
OK, you are right. In fact I had such an idea and I did test it but I realize
now my test was flawed.
Therefore checked in as obvious.
The newlines may be still wrong there, not sure, but that is a different
bug+fix.
master:
ac46107c5c781894e013b10cd9fb5c98a8393d26
7.11:
3d58f8997229b9045899dd306a47a3c27d03a9fd
Thanks,
Jan