From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24935 invoked by alias); 2 Sep 2011 01:15:37 -0000 Received: (qmail 24926 invoked by uid 22791); 2 Sep 2011 01:15:36 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausxipps301.us.dell.com (HELO ausxipps301.us.dell.com) (143.166.148.223) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Sep 2011 01:15:23 +0000 X-Loopcount0: from 10.175.216.249 From: To: , CC: , Date: Fri, 02 Sep 2011 10:04:00 -0000 Subject: RE: [PATCH 4/7] [python] API for macros: Add methods to get a gdb.Macro. Message-ID: <09787EF419216C41A903FD14EE5506DD015343C134@AUSX7MCPC103.AMER.DELL.COM> References: <1314198654-9008-1-git-send-email-ratmice@gmail.com> <1314198654-9008-5-git-send-email-ratmice@gmail.com> <09787EF419216C41A903FD14EE5506DD015343C12D@AUSX7MCPC103.AMER.DELL.COM> In-Reply-To: <09787EF419216C41A903FD14EE5506DD015343C12D@AUSX7MCPC103.AMER.DELL.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: 2011-09/txt/msg00026.txt.bz2 Never mind, I misread the Python doc. paul -----Original Message----- From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-owner@sourceware= .org] On Behalf Of Koning, Paul Sent: Thursday, September 01, 2011 9:07 PM To: ratmice@gmail.com; pmuldoon@redhat.com Cc: tromey@redhat.com; gdb-patches@sourceware.org Subject: RE: [PATCH 4/7] [python] API for macros: Add methods to get a gdb.= Macro. >What would be preferred is an immutable list with a constant time append o= nly exposed to the c api. >but python doesn't really have one of these. What about PyTuple_SetItem? It appends an item to a tuple; the description= doesn't say if it's constant time, but given how it's meant to be used one= would hope it is. paul