This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa] misc fixes and improvements to Python code.
- From: Tom Tromey <tromey at redhat dot com>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Fri, 20 Mar 2009 19:02:34 -0600
- Subject: Re: [rfa] misc fixes and improvements to Python code.
- References: <1237146352.316.23.camel@localhost.localdomain>
- Reply-to: tromey at redhat dot com
>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
Thiago> This patch brings some fixes and improvements from the Python
Thiago> branch to code which was already committed in HEAD. The
Thiago> descriptions in the ChangeLog are good enough. I'll only note
Thiago> that "keyword arguments" means calling a function specifying
Thiago> an optional argument by it's name, as in "gdb.some_function
Thiago> (foo, bar=baz)".
Thiago> Ok?
This is ok.
Do you think we should use keyword arguments universally? I was
thinking we probably should, but I think I noticed a single-argument
function without them, and I was wondering if we should bother with
those.
Thiago> (valpy_binop): Use `break' to exit from the TRY_CATCH block.
I've been wishing somebody would write a gcc plugin to check cleanups
and this sort of thing as well :-)
Tom