[PATCH] Some Python 3 fixes

Joel Brobecker brobecker@adacore.com
Wed Apr 15 15:40:00 GMT 2015


> > 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



More information about the Gdb-patches mailing list