This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/3] Fix prints in tests for Python 3
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: gdb-patches at sourceware dot org, simon dot marchi at polymtl dot ca
- Date: Thu, 27 Nov 2014 12:40:17 +0400
- Subject: Re: [PATCH 3/3] Fix prints in tests for Python 3
- Authentication-results: sourceware.org; auth=none
- References: <1416976561-1927-1-git-send-email-simon dot marchi at ericsson dot com> <1416976561-1927-3-git-send-email-simon dot marchi at ericsson dot com>
> Python 3's print requires to use parentheses, so this patch adds them where
> they were missing.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.python/py-linetable.exp: Add parentheses to calls to print.
> * gdb.python/py-type.exp: Same.
> * gdb.python/py-value-cc.exp: Same.
> * gdb.python/py-value.exp: Same.
Pre-approved with the same comment as before: Can you remove the space
between "print" and "(", please? You can push any other changes of this
nature under the "obvious" rule.
Thank you!
--
Joel