From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56941 invoked by alias); 24 Feb 2017 16:14:55 -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 56920 invoked by uid 89); 24 Feb 2017 16:14:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:9676A09, H*MI:sk:86h93j7, Hx-spam-relays-external:sk:esa2.de, H*f:sk:86h93j7 X-HELO: esa3.dell-outbound.iphmx.com Received: from Unknown (HELO esa3.dell-outbound.iphmx.com) (68.232.153.94) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Feb 2017 16:14:51 +0000 Received: from esa2.dell-outbound2.iphmx.com ([68.232.153.202]) by esa3.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2017 10:12:15 -0600 From: Received: from ausc60pc101.us.dell.com ([143.166.85.206]) by esa2.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2017 22:07:21 +0600 X-LoopCount0: from 10.175.216.251 To: CC: , Subject: Re: MemoryView missing from Python 2.4 and 2.6 Date: Fri, 24 Feb 2017 16:14:00 -0000 Message-ID: References: <87o9xsx38r.fsf@oracle.com> <20170223225946.snir4ab6twc7vo7n@localhost> <9676A094AF46E14E8265E7A3F4CCE9AF9417D1@irsmsx105.ger.corp.intel.com> <86h93j7evn.fsf@gmail.com> In-Reply-To: <86h93j7evn.fsf@gmail.com> Content-Type: text/plain; charset="us-ascii" Content-ID: <0D0525D3BEAA904DB8DE686B23AA79DD@dell.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2017-02/txt/msg00683.txt.bz2 "Wiederhake, Tim" writes: > ... > 3) Use the "new style buffer API" and limit GDB's support to Python >=3D = 2.6. > In this case we would have to limit the supported Python versions anyway = so > on the one hand there is not much reason to not throw out 2.6 as well. On= the > other hand, there still seem to be some Python 2.6 users. That makes sense. > 4) Return a string in "gdb.BtraceInstruction.data ()". The instruction da= ta can > potentially contain null bytes which can cause issues for obvious reasons. Python has no problem at all with null bytes in strings.=20=20 paul