From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by sourceware.org (Postfix) with ESMTPS id EC7453858403 for ; Mon, 21 Mar 2022 14:58:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EC7453858403 Received: from [2001:470:142:3::e] (port=43634 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWJUY-0006GW-SN; Mon, 21 Mar 2022 10:58:42 -0400 Received: from [87.69.77.57] (port=3523 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWJUY-0004Oz-G6; Mon, 21 Mar 2022 10:58:42 -0400 Date: Mon, 21 Mar 2022 16:58:26 +0200 Message-Id: <83lex3fj3h.fsf@gnu.org> From: Eli Zaretskii To: Simon Marchi Cc: gdb-patches@sourceware.org In-Reply-To: <20220321144624.1450968-2-simon.marchi@efficios.com> (message from Simon Marchi via Gdb-patches on Mon, 21 Mar 2022 10:46:23 -0400) Subject: Re: [PATCH v2 1/2] gdb/python: remove Python 2 support References: <20220107152921.2858909-1-simon.marchi@polymtl.ca> <20220321144624.1450968-1-simon.marchi@efficios.com> <20220321144624.1450968-2-simon.marchi@efficios.com> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2022 14:58:46 -0000 > Date: Mon, 21 Mar 2022 10:46:23 -0400 > From: Simon Marchi via Gdb-patches > > diff --git a/gdb/NEWS b/gdb/NEWS > index 4308e170e41..32d7ae0dd1f 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -3,6 +3,9 @@ > > *** Changes since GDB 12 > > +* Remove support for building against Python 2, it is now only possible to > +* build GDB against Python 3. > + > *** Changes in GDB 12 This part is OK. > diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi > index 918418b08c9..a401615e898 100644 > --- a/gdb/doc/python.texi > +++ b/gdb/doc/python.texi > @@ -18,8 +18,7 @@ > You can extend @value{GDBN} using the @uref{http://www.python.org/, > Python programming language}. This feature is available only if > @value{GDBN} was configured using @option{--with-python}. > -@value{GDBN} can be built against either Python 2 or Python 3; which > -one you have depends on this configure-time option. > +@value{GDBN} can be built against Python 3. Here, I think we should say "only against Python 3", or say "Python 2 is not supported as of GDB 13", or something to that effect. Because it is otherwise strange to mention Python 3, it sounds "out of the blue". Thanks.