From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16211 invoked by alias); 19 Feb 2013 16:35:52 -0000 Received: (qmail 15781 invoked by uid 22791); 19 Feb 2013 16:35:48 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Feb 2013 16:35:38 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MIH003007401I00@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Tue, 19 Feb 2013 18:34:46 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MIH0030E7DX2810@a-mtaout21.012.net.il>; Tue, 19 Feb 2013 18:34:45 +0200 (IST) Date: Tue, 19 Feb 2013 16:35:00 -0000 Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated. From: Eli Zaretskii Subject: Re: [RFC - Python Scripting] New method gdb.Architecture.disassemble In-reply-to: To: Paul_Koning@Dell.com Cc: sivachandra@google.com, gdb-patches@sourceware.org, dje@google.com, tromey@redhat.com Reply-to: Eli Zaretskii Message-id: <83liakp8i7.fsf@gnu.org> References: <20753.38272.55066.651097@ruffy2.mtv.corp.google.com> <87txphmdt3.fsf@fleche.redhat.com> <87r4kkks5g.fsf@fleche.redhat.com> <20763.64197.459891.627211@ruffy2.mtv.corp.google.com> <20765.55532.700460.792597@ruffy2.mtv.corp.google.com> <83a9r4sl04.fsf@gnu.org> 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: 2013-02/txt/msg00503.txt.bz2 > From: > CC: , , , > Date: Tue, 19 Feb 2013 15:51:24 +0000 > > > On Feb 19, 2013, at 12:36 AM, Siva Chandra wrote: > > > On Sat, Feb 16, 2013 at 12:47 AM, Eli Zaretskii wrote: > >>> ... > > > >>> For all of these cases, the elements of the > >>> +returned list are a Python @code{dict} > >> > >> Does it make sense in Python to talk about a list that is a 'dict'? > >> IOW, is a 'dict' a special case of a list in Python? My reading of > >> http://docs.python.org/2/library/stdtypes.html is that it is not. > > > > I am not saying that the list is a dict, but that the elements of the > > list are dicts. Should it be worded in another fashion? > > How about "each element of the returned list is a Python dict" ? Fine with me, thanks.