From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20222 invoked by alias); 19 Apr 2012 17:37:57 -0000 Received: (qmail 20096 invoked by uid 22791); 19 Apr 2012 17:37:55 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-vx0-f169.google.com (HELO mail-vx0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Apr 2012 17:37:43 +0000 Received: by vcbfy7 with SMTP id fy7so833970vcb.0 for ; Thu, 19 Apr 2012 10:37:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-system-of-record :x-gm-message-state; bh=oT/VAS8Esn7nPt0xc04kqpx8DFpl4f713SL/2l5k8LI=; b=HRjIqstvBa7VHDBCwJsZQ3EPTpd6ou4OD0TVcMim9y2IrbWIh2Lu9ETPMcmndVd/23 yVGgTzuQrUdvZ1Cji1UcGsb4PWaa/MFozxpJgDkmT4iSrZl9TUqN4l96vCA1kd+dXq4x fdHfvSw40aTyLGdCNB61chZzg39TESNqRsNRBkF9jtw6rANN6UKqLUVbBnbYGn03kcpV 0jiIRk+PqFn65Ln7DVr3CqtsJ9U9Fiz8FwPytC2UGaJKBnVnbPh5cy2YkcFU0rB5xMny Dg2qgEjcz9glWNMC+fOpaa7AnyigFUq68x7YKnaPtH0ofWmB8UH03zSGIUk5iaisP5x3 qcug== Received: by 10.52.90.20 with SMTP id bs20mr1268133vdb.98.1334857062260; Thu, 19 Apr 2012 10:37:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.90.20 with SMTP id bs20mr1268122vdb.98.1334857062132; Thu, 19 Apr 2012 10:37:42 -0700 (PDT) Received: by 10.220.115.78 with HTTP; Thu, 19 Apr 2012 10:37:42 -0700 (PDT) In-Reply-To: References: <831unms3jy.fsf@gnu.org> <4F8F187D.3050402@redhat.com> <878vhsojgd.fsf@fleche.redhat.com> Date: Thu, 19 Apr 2012 19:18:00 -0000 Message-ID: Subject: Re: [RFC - Python scripting] New methods Symtab.global_block and Symtab.static_block (docs included) From: Doug Evans To: Siva Chandra Cc: Tom Tromey , Phil Muldoon , Eli Zaretskii , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-Gm-Message-State: ALoCoQn3keLOUuahThebw36RLSN0Vo7u53igj3omVAqMIHK95Nfm7+gP9jZNoAtgBehwSYdbWShcrXcS9uQklW+apCP/dkL+O+kZzmSsHWPgIkFI+2vwGxeSrhHLg3TVxlZ0t1fAXXyWxCrGAHCK0mGlBcG0Mm/LAQ== 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/msg00642.txt.bz2 On Thu, Apr 19, 2012 at 10:29 AM, Siva Chandra wro= te: > Phil> FWIW, I would still like to see a clarification of the static/global > Phil> documentation regarding the "this might change" comment. =A0Sorry t= o be > Phil> a stickler on this, but I think it is important we don't start hint= ing > Phil> at API breakages without an adequate explanation as to what may > Phil> change, and why. =A0(Given that there is a need to put that disclai= mer > Phil> in there in the first place). > > Tom> I agree this text is a bit on the terse side. > Tom> > Tom> An issue I see with it is that, as a Python developer, you can't take > Tom> any action to insulate yourself. =A0Perhaps being more specific abou= t what > Tom> "identical" means would be useful. > > OK. I will wait for Doug to clarify on this. > > /Siva Chandra It would not be unexpected to me if a symbol disappeared from either list, moved from one list to another, or a new symbol appeared. [I also think exposing "global" vs "static" is an implementation detail, and thus shouldn't be part of the API, akin to exposing symbol table file names - symbols can have file names (like they have line numbers), but symbol tables I'm less comfortable with. Both of those ships have already sailed, I know.]