From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3584 invoked by alias); 11 Dec 2013 15:57:54 -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 3575 invoked by uid 89); 11 Dec 2013 15:57:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Dec 2013 15:57:53 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rBBFviq6030751 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Dec 2013 10:57:44 -0500 Received: from localhost.localdomain (ovpn-112-30.ams2.redhat.com [10.36.112.30]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rBBFveaf025422; Wed, 11 Dec 2013 10:57:41 -0500 Message-ID: <52A88B73.5000503@redhat.com> Date: Wed, 11 Dec 2013 15:57:00 -0000 From: Phil Muldoon MIME-Version: 1.0 To: Joel Brobecker , Tom Tromey CC: Doug Evans , gdb-patches@sourceware.org, Sergio Durigan , Jan Kratochvil Subject: Re: [PATCH] Add some const-ness to py-cmd.c References: <871u1k5srh.fsf@fleche.redhat.com> <87fvq03waa.fsf@fleche.redhat.com> <20131211075328.GA3227@adacore.com> <87zjo72zhj.fsf@fleche.redhat.com> <20131211153648.GB3227@adacore.com> In-Reply-To: <20131211153648.GB3227@adacore.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00434.txt.bz2 On 11/12/13 15:36, Joel Brobecker wrote: >> Red Hat at least needs 2.6 for a while still. RHEL 6 ships Python 2.6. >> It would be more convenient for us if this were supported by gdb. >> >> Of course gdb can go its own route and we will cope somehow. >> A few points though -- > > Just to be clear, I have no objection whatsoever towards keeping > support for 2.6! I don't think it is going to be that much more > work in any case, but just wondered whether that was necessary. > The one transition that worries me is 3.x, and I think this one > is going to hurt (at AdaCore). FWIW, GDB is ready to go with Python 3.x. I check the builds weekly against the test-suite. There may still be some logic bugs hiding (like a recent one I fixed: Python 3.x's internal representation of integers changed to be longs only; that caused an out of order logic bug in Python conversion routines in GDB which has to support 2.x and 3.x.) So your GDB pain, at least, should be mitigated ;) Cheers, Phil