From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id 1AB6A388CC1B for ; Thu, 17 Sep 2020 18:16:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1AB6A388CC1B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brobecker@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id EBDB65634B; Thu, 17 Sep 2020 14:16:27 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id AUBAbNmz2uwj; Thu, 17 Sep 2020 14:16:27 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id B856656345; Thu, 17 Sep 2020 14:16:27 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 3568D82D12; Thu, 17 Sep 2020 11:16:26 -0700 (PDT) Date: Thu, 17 Sep 2020 11:16:26 -0700 From: Joel Brobecker To: Eli Zaretskii Cc: tom@tromey.com, paulkoning@comcast.net, gdb@sourceware.org Subject: Re: Proposal to remove Python 2 support Message-ID: <20200917181626.GM5797@adacore.com> 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> <20200916152329.GD5797@adacore.com> <20200916153400.GC3030@embecosm.com> <87lfh872n6.fsf@tromey.com> <20200917174940.GB30765@adacore.com> <83o8m45lih.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83o8m45lih.fsf@gnu.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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: Thu, 17 Sep 2020 18:16:29 -0000 > > I agree we should be very careful about that, and keep things clear > > for the users. One the one hand, a full on/off switch, with a clear > > message "your GDB was configured without Python support" is simple > > for users to understand. On the other hand, having the API itself > > depend on what version of Python GDB was built with would make things > > pretty confusing, in my opinion. > > But that kind of thing is inevitable when one relies on external > libraries for some of our features. For example, suppose that the > source-highlight package learns to highlight sources better -- these > improvements will only available to users if they upgrade their > installed source-highlight library before building GDB. Granted, > these differences are smaller than entire commands or features > missing, but they still do exist, and always will. > > So I don't think we should be too worried about this. I do not agree with this sentiment in general, but this is making me realize that it's not so easy to categorize things. We can have guidelines, but each probably deserves to be considered individually. Taking Tom's feature proposal, however, I feel it would be a mistake to have it only conditionally based on the version of Python being used to build GDB. -- Joel