This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa] misc fixes and improvements to Python code.


El vie, 20-03-2009 a las 19:02 -0600, Tom Tromey escribiÃ:
> >>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
> Thiago> Ok?
> 
> This is ok.

Thanks, committed.

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

Well, I added keyword arguments only to functions which have two or more
optional arguments, so that you can use the last optional argument
without having to fill the earlier ones.

We could add keyword arguments to other functions as well, but I don't
know of a practical advantage there, it would be only for simmetry, I
suppose.

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

Can someone write a gcc plugin adding exceptions as a syntax add-on to
the C language? :-)
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]