From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77451 invoked by alias); 27 Feb 2019 18:17:40 -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 77436 invoked by uid 89); 27 Feb 2019 18:17:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 27 Feb 2019 18:17:39 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 01E4B30BC739 for ; Wed, 27 Feb 2019 18:17:38 +0000 (UTC) Received: from f29-4.lan (ovpn-117-11.phx2.redhat.com [10.3.117.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D83B95E7A2 for ; Wed, 27 Feb 2019 18:17:37 +0000 (UTC) Date: Wed, 27 Feb 2019 18:17:00 -0000 From: Kevin Buettner To: gdb-patches@sourceware.org Subject: Re: [PATCH] Use Python 2.[67] / 3.X / PEP 3118 buffer protocol Message-ID: <20190227111737.01b88cd5@f29-4.lan> In-Reply-To: <20190219145110.03bccce6@f29-4.lan> References: <20190219145110.03bccce6@f29-4.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00491.txt.bz2 On Tue, 19 Feb 2019 14:51:10 -0700 Kevin Buettner wrote: > gdb/ChangeLog: > > * python/py-inferior.c (infpy_write_memory): Remove non-IS_PY3K > code from these functions. Remove corresponding ifdefs. Use > Py_buffer_up instead of explicit calls to PyBuffer_Release. > Remove gotos and target of gotos. > (infpy_search_memory): Likewise. Pushed. Kevin