From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16266 invoked by alias); 3 Apr 2012 14:43:17 -0000 Received: (qmail 16254 invoked by uid 22791); 3 Apr 2012 14:43:16 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausc60ps301.us.dell.com (HELO ausc60ps301.us.dell.com) (143.166.148.206) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Apr 2012 14:43:04 +0000 X-Loopcount0: from 10.170.28.39 From: To: , CC: , , Date: Tue, 03 Apr 2012 14:43:00 -0000 Subject: RE: [PATCH] Add bp_location to Python interface Message-ID: <09787EF419216C41A903FD14EE5506DD0313D12A21@AUSX7MCPC103.AMER.DELL.COM> References: <83r4z8eqoa.fsf@gnu.org> <87zkaxn9zf.fsf@fleche.redhat.com> <4F7AE9C6.7050708@redhat.com> In-Reply-To: <4F7AE9C6.7050708@redhat.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2012-04/txt/msg00032.txt.bz2 >... >Though I suspect it does not really matter -- the user can quite easily tu= rn a tuple into a list. As for returning a tuple versus a list, again, I g= uess it does not really matter; the tuple idiom was just my convention (tho= ugh with very large lists, the conversion to a tuple might be expensive). If you know the number of items, the API lets you create the tuple with tha= t size and fill it in item by item, so there isn't necessary a conversion f= rom list to tuple involved. paul