From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 02C873857021 for ; Wed, 16 Sep 2020 15:34:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 02C873857021 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=andrew.burgess@embecosm.com Received: by mail-wm1-x335.google.com with SMTP id b79so3498439wmb.4 for ; Wed, 16 Sep 2020 08:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=sOHomwANp8QOZbxV0fsWvKpo2Li5QZTHqz2nD5SSyA0=; b=DTX/I/SWfoTCm4WEQ1FQW10xtSFWua+5y5GrdBxF0UqOY/EgLUo6qBQrGLA1eqw3QK UelidVyhJvpNABY/rkpFUMerqpahfzOyGCV6uxV5CeMhsP78D1S/lAs/sFxj0A3WQKbK WflVaaTs+mosD7wIWc5kJkMXS7wqpJaUwar/TZbHmYb4hXNGWtuh9DMqT5b2e1XxRjSx NU+x+GJ2yLCV0T6miIK5md3AfgwcRZHYAosUoZkPZySHwQGaptwuoliR1tR5MOw8vaJM VIKDPaKhZgIFi8EjYTlLiHcjzuUFvul1U+VHrZYulWi9qHxESrNxVblyc4ySKWXc/slb uPmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sOHomwANp8QOZbxV0fsWvKpo2Li5QZTHqz2nD5SSyA0=; b=MDNjL81YI/tgphy//0QIPCxeZVR1BiWe29MBmjo+YMpj21WSoY2TdD8gZpM5td0Eif VpWdlyil30d1RT0x+bCBQRcqigQhoEJDBbnOvLRQZA0EMKIy0iwg1V8s6Kx8lkVt1lSN fsqW6k+C1pZR2h5847lhm+ERNS3mN9/xQN8id7Gq8voWGrYvb/b3FaLz/1TjIlr0FsJ8 LDeM1+3rSfrBbvzY1+3G0K0ngcPx3XwluAei7UYfi88crl7gto+fhoftm5SV/PdqV8BB V2PQ7Ky7obGPvJjelr6iA45HpQkYZ+qoQxYCig/F4grdqfO/Bc3e21gIkDLqwb29kH24 nyyQ== X-Gm-Message-State: AOAM532KK9yMcr/z8tCCOY0n43wwox4gF2NGH7wQiNtgorGoUYSJSAhB 4ycnTP5iSx1H4xc/xzXg4gfG2g== X-Google-Smtp-Source: ABdhPJxNE6zX+sVHRlEi2nSEZAT+fZaUZfJrfAWQgKHPmg9ONwLYKxQZo1LYcCr706GSI1/CQXYqlw== X-Received: by 2002:a1c:80d7:: with SMTP id b206mr5299537wmd.161.1600270443079; Wed, 16 Sep 2020 08:34:03 -0700 (PDT) Received: from localhost (host31-53-80-104.range31-53.btcentralplus.com. [31.53.80.104]) by smtp.gmail.com with ESMTPSA id n66sm6173006wmb.35.2020.09.16.08.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 08:34:01 -0700 (PDT) Date: Wed, 16 Sep 2020 16:34:00 +0100 From: Andrew Burgess To: Joel Brobecker Cc: fedor_qd@mail.ru, Paul Koning , Tom Tromey , gdb@sourceware.org Subject: Re: Proposal to remove Python 2 support Message-ID: <20200916153400.GC3030@embecosm.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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200916152329.GD5797@adacore.com> X-Operating-System: Linux/5.8.6-101.fc31.x86_64 (x86_64) X-Uptime: 16:29:05 up 3 days, 23:52, X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, 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: Wed, 16 Sep 2020 15:34:05 -0000 * Joel Brobecker [2020-09-16 08:23:29 -0700]: > > > 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. > > That is true, and I understand that. I have been involved in quite > a few transitions from Python 2 to Python 3, and it's been a lot > of work for a number of projects. > > That being said, we need to be careful and try to find the right > balance between the users who are still stuck on Python 2, those > who have made the effort to transition in time, and the cost of > keeping Python 2 support for a little longer. If the cost remains > reasonable, then of course, let's help everyone. > > Here, what we are talking about, is the fact that keeping Python 2 > support would delay the implementation of a feature (or force us > to implement it in a way that's more complex -- something I don't > think Tom is interested in doing). Something that I think might be related here, or at least worth mentioning, is guile support. Without knowing (a) what the new feature is, or (b) how Tom plans to implement... Can the feature be added to guile in the same super clean / clever way? If not are we taking the position that this feature just wouldn't be available on guile? Or would we potentially end up implementing the feature the "other way" anyway? Additionally there's always the option of supporting a particular feature only when the user compiles against a particular Python version. I guess this would depend on how tightly coupled the feature ends up being to the rest of the GDB/Python code. Thanks, Andrew