From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) by sourceware.org (Postfix) with ESMTPS id 146C3385700B for ; Wed, 16 Sep 2020 17:50:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 146C3385700B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=t-online.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=apoenitz@t-online.de Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de [172.20.26.148]) by mailout07.t-online.de (Postfix) with SMTP id 72A6942DCF0C; Wed, 16 Sep 2020 19:50:44 +0200 (CEST) Received: from localhost (VyAUL8ZOwhIXTRNJ0KHKbmjvJ56MxXXZEl1GAyvvmxNI9KaJhOGzVFfHlMv8PPnZma@[91.65.66.29]) by fwd02.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1kIbZr-1LocFc0; Wed, 16 Sep 2020 19:50:43 +0200 Date: Wed, 16 Sep 2020 19:50:37 +0200 From: =?iso-8859-1?Q?Andr=E9_P=F6nitz?= To: Andrew Burgess Cc: gdb@sourceware.org Subject: Re: Proposal to remove Python 2 support Message-ID: <20200916175037.GA1898@klara> References: <87sgbiahur.fsf@tromey.com> <3415E02F-C35C-4C72-8C9A-C141E024F3AC@comcast.net> <1600210499.574691995@f12.my.com> <20200916130013.GC5797@adacore.com> <20200916135312.GB3030@embecosm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200916135312.GB3030@embecosm.com> X-ID: VyAUL8ZOwhIXTRNJ0KHKbmjvJ56MxXXZEl1GAyvvmxNI9KaJhOGzVFfHlMv8PPnZma X-TOI-EXPURGATEID: 150726::1600278643-0000F958-6B7FD1F4/0/0 CLEAN NORMAL X-TOI-MSGID: 293887ff-559b-4cd9-80cf-fd7297219ae3 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, FREEMAIL_FROM, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2020 17:50:47 -0000 On Wed, Sep 16, 2020 at 02:53:12PM +0100, Andrew Burgess wrote: > * Joel Brobecker [2020-09-16 06:00:13 -0700]: > > > > That has no sense for me because Python 2 doesn't disappear from distros. > > > > I don't know how long this is going to be True, but "distros" have > > been shipping Python 3.x for quite a while now, so lack of Python 2 > > support wouldn't prevent you from building GDB with Python support > > enabled. > > But a user might potentially have a significant body of Python 2 code > that they run through GDB, so it's not as simple as "just" building > with Python 3 and off they go. > > I think once distros start to drop Python 2 then there's a really good > argument that GDB should drop Python 2 also, but before then we need > to go in with our eyes open, if the distros still ship Python 2 then > users might be annoyed if they have to rewrite their scripts. I am not sure whether this is significant, but I have a data point here: I have ~13kLOC of Python code to be used with GDB that I currently need to keep compatible with Python 2 and 3, as this may be used with any GDB. Dropping Python 2 would certainly make /my/ life simpler. Regards, André