From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104197 invoked by alias); 7 Mar 2017 00:21:44 -0000 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 Received: (qmail 104188 invoked by uid 89); 7 Mar 2017 00:21:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=3x, our X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 07 Mar 2017 00:21:41 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id C3C9129036; Mon, 6 Mar 2017 19:21:40 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id El5qdlMY47xF; Mon, 6 Mar 2017 19:21:40 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 9B3E329034; Mon, 6 Mar 2017 19:21:40 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id B0D3E607DE; Mon, 6 Mar 2017 19:21:19 -0500 (EST) Date: Tue, 07 Mar 2017 00:21:00 -0000 From: Joel Brobecker To: "Jose E. Marchesi" Cc: "Wiederhake, Tim" , Yao Qi , "gdb-patches@sourceware.org" Subject: Re: MemoryView missing from Python 2.4 and 2.6 Message-ID: <20170307002119.ri3xv4cfxfkrb4gm@adacore.com> References: <87o9xsx38r.fsf@oracle.com> <20170223225946.snir4ab6twc7vo7n@localhost> <9676A094AF46E14E8265E7A3F4CCE9AF9417D1@irsmsx105.ger.corp.intel.com> <86h93j7evn.fsf@gmail.com> <9676A094AF46E14E8265E7A3F4CCE9AF941DE1@irsmsx105.ger.corp.intel.com> <87wpca8onq.fsf@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wpca8onq.fsf@oracle.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) X-SW-Source: 2017-03/txt/msg00053.txt.bz2 Hello, > Jose, can you confirm that this patch un-breaks GDB linked with > Python 2.6? > > Yep. This fixes the build with Python 2.6.6. It looks like the patch is also removing the feature from users of Python 2.7.x, though, is it not? Given that this is a new feature, this wouldn't be the end of the world, especially since we're so close to branching, so we wouldn't want that to be a reason to delay the fix too much longer. However, I think our configure script defines HAVE_LIBPYTHON2_7, so perhaps we could either use that, or explicitly exclude HAVE_LIBPYTHON2_6, HAVE_LIBPYTHON2_5 and HAVE_LIBPYTHON2_4 instead of only including it for Python 3.x? -- Joel