This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Some Python 3 fixes
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Wed, 15 Apr 2015 08:40:47 -0700
- Subject: Re: [PATCH] Some Python 3 fixes
- Authentication-results: sourceware.org; auth=none
- References: <1428426786-7704-1-git-send-email-simon dot marchi at ericsson dot com> <552E833F dot 50706 at ericsson dot com>
> > gdb/ChangeLog:
> >
> > * python/lib/gdb/command/unwinders.py: Add parentheses.
> >
> > gdb/testsuite/ChangeLog:
> >
> > * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
> > if itertools.imap is not present.
> > * gdb.python/py-objfile.exp: Add parentheses.
> > * gdb.python/py-type.exp: Same.
> > * gdb.python/py-unwind-maint.py: Same.
Sorry for the delay, Simon. Most of those are on the obvious side
(print being a function, now, and thus requiring the use of
parentheses), so they'd be OK to push without approval. The one
change that is less obvious is the adjustment after itertools.imap
got replaced by "map"; but the change looks good to me.
So go ahead and push.
--
Joel