From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30802 invoked by alias); 21 Mar 2009 03:16:43 -0000 Received: (qmail 30794 invoked by uid 22791); 21 Mar 2009 03:16:42 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from e24smtp02.br.ibm.com (HELO e24smtp02.br.ibm.com) (32.104.18.86) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 21 Mar 2009 03:16:37 +0000 Received: from mailhub1.br.ibm.com (mailhub1.br.ibm.com [9.18.232.109]) by e24smtp02.br.ibm.com (8.13.1/8.13.1) with ESMTP id n2L3UrOU010432 for ; Sat, 21 Mar 2009 00:30:53 -0300 Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub1.br.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n2L3GpTu1069298 for ; Sat, 21 Mar 2009 00:16:51 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n2L3GX84010387 for ; Sat, 21 Mar 2009 00:16:33 -0300 Received: from [9.18.200.23] ([9.18.200.23]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n2L3GXaa010380; Sat, 21 Mar 2009 00:16:33 -0300 Subject: Re: [rfa] misc fixes and improvements to Python code. From: Thiago Jung Bauermann To: tromey@redhat.com Cc: gdb-patches ml In-Reply-To: References: <1237146352.316.23.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Sat, 21 Mar 2009 08:03:00 -0000 Message-Id: <1237605392.6897.27.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00426.txt.bz2 El vie, 20-03-2009 a las 19:02 -0600, Tom Tromey escribió: > >>>>> "Thiago" == Thiago Jung Bauermann 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