From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51594 invoked by alias); 20 Feb 2019 20:45:32 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 50701 invoked by uid 89); 20 Feb 2019 20:45:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=HTo:U*gdb, H*Ad:U*gdb, Hx-languages-length:1100, H*r:sk:gdb@sou 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, 20 Feb 2019 20:45:21 +0000 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1D6A61C90F7 for ; Wed, 20 Feb 2019 20:45:07 +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 EE5D71948B for ; Wed, 20 Feb 2019 20:45:06 +0000 (UTC) Date: Wed, 20 Feb 2019 20:45:00 -0000 From: Kevin Buettner To: gdb@sourceware.org Subject: Proposal: Drop GDB support for Python versions < 2.6 Message-ID: <20190220134506.13960235@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/msg00020.txt.bz2 I want to drop support in GDB for Python versions 2.5 and lower. I've proposed two patches which use facilities that are only present in Python 2.6 and later. To be clear, these mechanisms are also present in Python 2.7 and 3.X. Python documentation encourages use of these newer facilities over the older ones. My patches can be found here: https://sourceware.org/ml/gdb-patches/2019-02/msg00311.html https://sourceware.org/ml/gdb-patches/2019-02/msg00314.html The latter patch provides a detailed rationale for dropping support for older versions of Python. Here is a brief summary: Python 2.6 was first released in Oct, 2008. Five years later, in Oct, 2013, a final security release was made along with the announcement that support for Python 2.6 has ended. That being the case, it seems reasonable for GDB to end support for all Python versions prior to Python 2.6. Going even further, since 2.6 is no longer supported by the Python community, I'd also be okay with saying that GDB only supports Python 2.7 and Python 3.X. Comments?