From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23554 invoked by alias); 2 Sep 2011 01:07:18 -0000 Received: (qmail 23546 invoked by uid 22791); 2 Sep 2011 01:07:17 -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 ausxippc101.us.dell.com (HELO ausxippc101.us.dell.com) (143.166.85.207) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Sep 2011 01:07:04 +0000 X-Loopcount0: from 10.175.216.251 From: To: , CC: , Date: Fri, 02 Sep 2011 01:15:00 -0000 Subject: RE: [PATCH 4/7] [python] API for macros: Add methods to get a gdb.Macro. Message-ID: <09787EF419216C41A903FD14EE5506DD015343C12D@AUSX7MCPC103.AMER.DELL.COM> References: <1314198654-9008-1-git-send-email-ratmice@gmail.com> <1314198654-9008-5-git-send-email-ratmice@gmail.com> In-Reply-To: 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/msg00025.txt.bz2 >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